Class KHR_lights_punctual
Hierarchy
- KHR_lights_punctual
Implements
- IGLTFExporterExtensionV2
Index
Properties
Methods
Properties
enabledSearch playground for enabled
Defines whether this extension is enabled.
Readonly nameSearch playground for name
The name of this extension.
requiredSearch playground for required
Defines whether this extension is required
Methods
post Export Node AsyncSearch playground for postExportNodeAsync
-
Define this method to modify the default behavior when exporting a node
Parameters
-
context: string
The context when exporting the node
-
node: Nullable<INode>
glTF node
-
babylonNode: Node
BabylonJS node
-
Optional nodeMap: {}
Node mapping of unique id to glTF node index
-
[key: number]: number
-
Returns Promise<Nullable<INode>>
nullable BABYLON.GLTF2.INode promise
-
Specification