Class KHR_materials_dispersionExperimental
Implements
- IGLTFExporterExtensionV2
Index
Properties
Experimentalenabled
enabled: boolean = true
Defines whether this extension is enabled
Readonly Experimentalname
name: "KHR_materials_dispersion" = NAME
Name of this extension
Experimentalrequired
required: boolean = false
Defines whether this extension is required
Methods
dispose
-
ExperimentalDispose
Returns void
Optionalpost Export Material Async
-
postExportMaterialAsync?(
context: string,
node: IMaterial,
babylonMaterial: Material,
): Promise<IMaterial>ExperimentalAfter exporting a material
Parameters
- context: string
GLTF context of the material
- node: IMaterial
exported GLTF node
- babylonMaterial: Material
corresponding babylon material
Returns Promise<IMaterial>
promise, resolves with the material
- context: string
Specification