Properties
Optional afterRoot
after
Root?: (result: GLTF) => Promise<void>Type declaration
- (result: GLTF): Promise<void>
Parameters
Returns Promise<void>
Optional beforeRoot
beforeRoot?: () => Promise<void>
Optional createNodeAttachment
Optional extendMaterialParams
extendMaterialParams?: (materialIndex: number, materialParams: {}) => Promise<any>
Type declaration
- (materialIndex: number, materialParams: {}): Promise<any>
Parameters
materialIndex: number
materialParams: {}
Returns Promise<any>
Optional getMaterialType
getMaterialType?: (materialIndex: number) => any
Type declaration
- (materialIndex: number): any
Optional loadBufferView
loadBufferView?: (bufferViewIndex: number) => Promise<ArrayBuffer>
Type declaration
- (bufferViewIndex: number): Promise<ArrayBuffer>
Parameters
Returns Promise<ArrayBuffer>
Optional loadMaterial
load
Material?: (materialIndex: number) => Promise<I3JS.Material>Optional loadTexture
load
Texture?: (textureIndex: number) => Promise<I3JS.Texture>
Gltfloader plugin