Skip to main content

Class: GLTFExporterMaterialsVariantsExtensionExport

Asset-Management.GLTFExporterMaterialsVariantsExtensionExport

Properties​

name​

• name: string = khrMaterialsVariantsGLTF


variantNames​

• variantNames: string[] = []


writer​

• writer: GLTFWriter2

Constructors​

constructor​

• new GLTFExporterMaterialsVariantsExtensionExport(writer)

Parameters​

NameType
writerGLTFWriter2

Methods​

beforeParse​

▸ beforeParse(objects): void

Parameters​

NameType
objectsObject3D<Object3DEventMap>[]

Returns​

void


writeMesh​

▸ writeMesh(mesh, meshDef): void

Parameters​

NameType
meshMesh<BufferGeometry<NormalBufferAttributes, BufferGeometryEventMap>, Material<MaterialEventMap> | Material<MaterialEventMap>[], Object3DEventMap>
meshDefany

Returns​

void


afterParse​

▸ afterParse(input): void

Parameters​

NameType
inputany

Returns​

void