Class TCastleSceneSaveOptions

Unit

Declaration

type TCastleSceneSaveOptions = class(TCastleComponent)

Description

Optional model save options. Models are typically saved using SaveNode.

An instance of this class can be provided to SaveNode. It will then be passed to the model loader event TModelFormat.OnSave.

Source: src/scene/load/x3dload.pas (line 79).

Hierarchy

Overview

Properties

Published property Generator: String read FGenerator write FGenerator;
Published property Source: String read FSource write FSource;
Published property GltfJsonFormatted: Boolean read FGltfJsonFormatted write FGltfJsonFormatted default false;

Description

Properties

Published property Generator: String read FGenerator write FGenerator;

Optional name, or short description, of the application generating this file. This value is not interpreted in any way, it is simply a "metadata" information we may store in the resulting file.

Source: src/scene/load/x3dload.pas (line 88).

Published property Source: String read FSource write FSource;

Optional name of the original file, if this file is a result of some conversion or transformation. This value is not interpreted in any way, it is simply a "metadata" information we may store in the resulting file.

Source: src/scene/load/x3dload.pas (line 93).

Published property GltfJsonFormatted: Boolean read FGltfJsonFormatted write FGltfJsonFormatted default false;

When saving to glTF, make JSON part nicely formatted (indented, human-readable).

Source: src/scene/load/x3dload.pas (line 97).


Generated by PasDoc 0.17.0.snapshot.