Class: GLTFExporterMaterialsVariantsExtensionExport
Asset-Management.GLTFExporterMaterialsVariantsExtensionExport
Properties
name
• name: string
= khrMaterialsVariantsGLTF
variantNames
• variantNames: string
[] = []
writer
• writer: GLTFWriter2
Constructors
constructor
• new GLTFExporterMaterialsVariantsExtensionExport(writer
)
Parameters
Name | Type |
---|---|
writer | GLTFWriter2 |
Methods
beforeParse
▸ beforeParse(objects
): void
Parameters
Name | Type |
---|---|
objects | Object3D <Object3DEventMap >[] |
Returns
void
writeMesh
▸ writeMesh(mesh
, meshDef
): void
Parameters
Name | Type |
---|---|
mesh | Mesh <BufferGeometry <NormalBufferAttributes , BufferGeometryEventMap >, Material <MaterialEventMap > | Material <MaterialEventMap >[], Object3DEventMap > |
meshDef | any |
Returns
void
afterParse
▸ afterParse(input
): void
Parameters
Name | Type |
---|---|
input | any |
Returns
void