Improve python library, add LLGLTF asset parser, Add tests
This commit is contained in:
28
lib/classes/LLGLTFMaterialData.ts
Normal file
28
lib/classes/LLGLTFMaterialData.ts
Normal file
@@ -0,0 +1,28 @@
|
||||
export interface LLGLTFMaterialData
|
||||
{
|
||||
asset: {
|
||||
version: string;
|
||||
};
|
||||
images: {
|
||||
uri: string;
|
||||
}[];
|
||||
materials: {
|
||||
normalTexture: {
|
||||
index: number
|
||||
},
|
||||
occlusionTexture: {
|
||||
index: number;
|
||||
},
|
||||
pbrMetallicRoughness: {
|
||||
baseColorTexture: {
|
||||
index: number
|
||||
},
|
||||
metallicRoughnessTexture: {
|
||||
index: number
|
||||
}
|
||||
}
|
||||
}[];
|
||||
textures: {
|
||||
source: number
|
||||
}[];
|
||||
}
|
||||
Reference in New Issue
Block a user