GltfSaveOptions

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

NameTypeAccessDescription
flipCoordinateSystembooleanReadIndicates if coordinate system flipping is applied
prettyPrintbooleanReadControls whether the GLTF JSON is formatted for readability
bufferFilePrefixStringReadHolds the prefix for external buffer file names
saveExtrasStringReadContains extra user-defined data to embed in the GLTF
contentTypeFileContentTypeReadSpecifies the MIME or format type of the saved file

Methods

SignatureDescription
GltfSaveOptions()Constructs a new instance with default settings
getFlipCoordinateSystem()booleanReturns whether the coordinate system is flipped on save
setFlipCoordinateSystem(value: boolean)Sets flipping of the coordinate system for saved GLTF
getPrettyPrint()booleanIndicates if the output JSON will be pretty-printed
setPrettyPrint(value: boolean)Enables or disables pretty-printing of the GLTF JSON
getBufferFilePrefix()StringReturns the prefix used for external buffer files
setBufferFilePrefix(value: String)Defines the prefix for external buffer files
getSaveExtras()StringReturns the extra data to be saved with the GLTF file
setSaveExtras(value: String)Sets additional data to include in the GLTF output
getContentType()FileContentTypeReturns the file content type for the GLTF output
setContentType(value: FileContentType)Specifies the file content type for saving

See Also