Interface IExportOptions
Hierarchy
- IExportOptions
Index
Properties
Optional animation Sample RateSearch playground for animationSampleRate
The sample rate to bake animation curves. Defaults to 1 / 60.
Optional export UnusedUVsSearch playground for exportUnusedUVs
Indicates if unused vertex uv attributes should be included in export. Defaults to false.
Optional export Without Waiting For SceneSearch playground for exportWithoutWaitingForScene
Begin serialization without waiting for the scene to be ready. Defaults to false.
Optional include Coordinate System Conversion NodesSearch playground for includeCoordinateSystemConversionNodes
Indicates if coordinate system swapping root nodes should be included in export. Defaults to false.
Optional remove Noop Root NodesSearch playground for removeNoopRootNodes
Remove no-op root nodes when possible. Defaults to true.
Methods
Optional metadata SelectorSearch playground for metadataSelector
Function used to extract the part of node's metadata that will be exported into glTF node extras
Parameters
metadata: any
source metadata to read from
Returns any
the data to store to glTF node extras
Optional should Export AnimationSearch playground for shouldExportAnimation
Function which indicates whether an animation on the scene should be exported or not
Parameters
animation: Animation
source animation
Returns boolean
boolean, which indicates whether the animation should be exported (true) or not (false)
Optional should Export NodeSearch playground for shouldExportNode
Function which indicates whether a babylon node should be exported or not
Parameters
node: Node
source Babylon node. It is used to check whether it should be exported to glTF or not
Returns boolean
boolean, which indicates whether the node should be exported (true) or not (false)
Holds a collection of exporter options and parameters