GltfSaveOptions

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

NameTypeAccessDescription
binaryModebooleanReadIndicates whether the GLTF output should be written in binary (.glb) form
flipTexCoordVbooleanReadDetermines if texture V coordinates are flipped during export

Methods

SignatureDescription
constructor(fileFormat: FileFormat)Creates a new instance with the specified file format

See Also