Save/Load Tree I/O Flags

Input and output operation flags that can be passed to the ioFlags parameter on VRLoadTreeEx and VRSaveTreeEx.

Variables


const uint64_t FILEIO_CHANGED_ONLY = ((uint64_t)1 << 0)

Signals the file IO to only output Libraries that are changed.


const uint64_t FILEIO_FILE_FORMAT_GUESS = ((uint64_t)1 << 35)

Signals that the save/load operation should determine the file format from the file extension.


const uint64_t FILEIO_FILE_FORMAT_HUMAN = ((uint64_t)1 << 34)

Signals that the file should be saved/loaded as a VRText file.


const uint64_t FILEIO_FILE_FORMAT_MACHINE = ((uint64_t)1 << 33)

Signals that the files should be saved/loaded as a VRNative file.


const uint64_t FILEIO_FORCE_SAVE = ((uint64_t)1 << 3)

Signals the file IO that we should override the NO_SAVE flag and save anyways.


const uint64_t FILEIO_IGNORE_UNSAVED_PROPERTIES = ((uint64_t)1 << 7)

Signals that values of properties that aren't saved should be ignored when loading.


const uint64_t FILEIO_MERGE = ((uint64_t)1 << 2)

Signals the file IO that this call to loadTree() is merging files into the current scene, newly created library nodes will always be flagged as dirty so they are saved with the existing data they have been merged with.


const uint64_t FILEIO_MONOLITHIC = ((uint64_t)1 << 6)

Signals that Library nodes' archive flag should be ignored.


const uint64_t FILEIO_NESTED = ((uint64_t)1 << 1)

Signals the file IO that this call to loadTree() is nested inside another.


const uint64_t FILEIO_NEW_UUIDS = ((uint64_t)1 << 4)

Signals that the file IO should not preserve the Node UUID's.


const uint64_t FILEIO_OVERLAY_DOCUMENT = ((uint64_t)1 << 9)

Signals that the document should be saved as a system document.


const uint64_t FILEIO_SAVE_SIBLINGS_TOO = ((uint64_t)1 << 32)

Signals that the nodes siblings should be saved.


const uint64_t FILEIO_SYSTEM_DOCUMENT = ((uint64_t)1 << 8)

Signals that the document should be saved as a system document.


const uint64_t FILEIO_UUIDS_MUST_EXIST = ((uint64_t)1 << 5)

Signals that the file IO should throw an exception if the file being loaded does not have UUID's.

No Results.

Getting StartedArchitectureBest PracticesHow ToAdvanced TopicsChangelogvrtreevrtree_cppvtCoreCoreForeign Function InterfaceMetanodesMigrationsObserversPropertiesSettingsTreeUtilitiesAPI DefinitionsVR ExchangePluginsLua API