RvmFormat

RvmFormat class

The RVM Format @hideconstructor

Methods

getVersion

NameDescription
getVersion()Gets file format version

Result:


getExtension

NameDescription
getExtension()Gets the extension name of this type.

Result:


getExtensions

NameDescription
getExtensions()Gets the extension names of this type.

Result:


getContentType

NameDescription
getContentType()Gets file format content type The value of the property is FileContentType integer constant.

Result:


getFileFormatType

NameDescription
getFileFormatType()Gets file format type

Result:


loadAttributes

NameDescription
loadAttributes(scene, fileName, prefix)Load the attributes from specified file name

Parameters:

NameTypeDescription
sceneSceneThe scene where the attributes will be applied to
fileNameStringThe file’s name that contains the attributes
prefixStringThe prefix of the attributes that used to avoid conflict of names, default value is “rvm:”

Result:


createLoadOptions

NameDescription
createLoadOptions()Create a default load options for this file format

Result: LoadOptions


createSaveOptions

NameDescription
createSaveOptions()Create a default save options for this file format

Result: SaveOptions


toString

NameDescription
toString()Formats to string

Result: String