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.

Description

GltfSaveOptions is a class in the Aspose.3D FOSS library for TypeScript that exposes 0 methods and 2 properties for programmatic use. It extends SaveOptions, inheriting shared functionality from its parent type.

Core capabilities include: boolean; boolean; creates a new instance with the specified file format. These operations enable developers to integrate gltfsaveoptions functionality directly into TypeScript applications.

The class also provides the binaryMode property (indicates whether the gltf output should be written in binary (.glb) form), the flipTexCoordV property (determines if texture v coordinates are flipped during export).

Instances are created through a single constructor that initializes the object with default values.

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