Class KHR_materials_openpbrExperimental
Implements
- IGLTFExporterExtensionV2
Index
Constructors
constructor
-
ExperimentalReturns KHR_materials_openpbr
Properties
Experimentalenabled
enabled: boolean = true
Defines whether this extension is enabled
Readonly Experimentalname
name: "KHR_materials_openpbr" = NAME
Name of this extension
Experimentalrequired
required: boolean = false
Defines whether this extension is required
Methods
dispose
-
ExperimentalReturns 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 that resolves with the updated node
- context: string
TODO: Add link to specification. Specification still being drafted.