GltfSaveOptions
Overview
GltfSaveOptions is a class in Aspose.3D FOSS for Java.
Inherits from: SaveOptions.
GltfSaveOptions.GltfSaveOptions constructs a new instance with default settings.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
flipCoordinateSystem | boolean | Read | Indicates if coordinate system flipping is applied |
prettyPrint | boolean | Read | Controls whether the GLTF JSON is formatted for readability |
bufferFilePrefix | String | Read | Holds the prefix for external buffer file names |
saveExtras | String | Read | Contains extra user-defined data to embed in the GLTF |
contentType | FileContentType | Read | Specifies the MIME or format type of the saved file |
Methods
| Signature | Description |
|---|---|
GltfSaveOptions() | Constructs a new instance with default settings |
getFlipCoordinateSystem() → boolean | Returns whether the coordinate system is flipped on save |
setFlipCoordinateSystem(value: boolean) | Sets flipping of the coordinate system for saved GLTF |
getPrettyPrint() → boolean | Indicates if the output JSON will be pretty-printed |
setPrettyPrint(value: boolean) | Enables or disables pretty-printing of the GLTF JSON |
getBufferFilePrefix() → String | Returns the prefix used for external buffer files |
setBufferFilePrefix(value: String) | Defines the prefix for external buffer files |
getSaveExtras() → String | Returns the extra data to be saved with the GLTF file |
setSaveExtras(value: String) | Sets additional data to include in the GLTF output |
getContentType() → FileContentType | Returns the file content type for the GLTF output |
setContentType(value: FileContentType) | Specifies the file content type for saving |