Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface GLTFLoaderPlugin

Gltfloader plugin

Hierarchy

  • GLTFLoaderPlugin

Index

Properties

Optional afterRoot

afterRoot?: (result: GLTF) => Promise<void>

Type declaration

    • (result: GLTF): Promise<void>
    • Parameters

      Returns Promise<void>

Optional beforeRoot

beforeRoot?: () => Promise<void>

Type declaration

    • (): Promise<void>
    • Returns Promise<void>

Optional createNodeAttachment

createNodeAttachment?: (nodeIndex: number) => Promise<I3JS.Object3D<Event>>

Type declaration

Optional createNodeMesh

createNodeMesh?: (nodeIndex: number) => Promise<I3JS.Group | I3JS.Mesh<I3JS.BufferGeometry, I3JS.Material | I3JS.Material[]> | I3JS.SkinnedMesh<I3JS.BufferGeometry, I3JS.Material | I3JS.Material[]>>

Type declaration

Optional extendMaterialParams

extendMaterialParams?: (materialIndex: number, materialParams: {}) => Promise<any>

Type declaration

    • (materialIndex: number, materialParams: {}): Promise<any>
    • Parameters

      • materialIndex: number
      • materialParams: {}
        • [key: string]: any

      Returns Promise<any>

Optional getMaterialType

getMaterialType?: (materialIndex: number) => any

Type declaration

    • (materialIndex: number): any
    • Parameters

      • materialIndex: number

      Returns any

Optional loadBufferView

loadBufferView?: (bufferViewIndex: number) => Promise<ArrayBuffer>

Type declaration

    • (bufferViewIndex: number): Promise<ArrayBuffer>
    • Parameters

      • bufferViewIndex: number

      Returns Promise<ArrayBuffer>

Optional loadMaterial

loadMaterial?: (materialIndex: number) => Promise<I3JS.Material>

Type declaration

Optional loadMesh

Type declaration

Optional loadTexture

loadTexture?: (textureIndex: number) => Promise<I3JS.Texture>

Type declaration

Generated using TypeDoc