Overview
GltfSaveOptions controls how a Scene is serialised to glTF (.gltf/.glb) format. Construct an instance, configure the desired properties, and pass it to Scene.save() to override the built-in export defaults. Typical settings include output coordinate-system handedness, floating-point precision, whether binary buffers are embedded, and format-version selection. When Scene.save() receives only a file path, GltfFormat supplies the default export configuration automatically.
Properties
| Name | Type | Access | Description |
|---|
binaryMode | boolean | Read | Indicates whether the GLTF output should be written in binary (.glb) form |
flipTexCoordV | boolean | Read | Determines if texture V coordinates are flipped during export |
Methods
| Signature | Description |
|---|
constructor(fileFormat: FileFormat) | Creates a new instance with the specified file format |
See Also