RvmFormat
Contents
[
Hide
]RvmFormat class
The RVM Format @hideconstructor
Methods
getVersion
Name | Description |
---|---|
getVersion() | Gets file format version |
Result:
getExtension
Name | Description |
---|---|
getExtension() | Gets the extension name of this type. |
Result:
getExtensions
Name | Description |
---|---|
getExtensions() | Gets the extension names of this type. |
Result:
getContentType
Name | Description |
---|---|
getContentType() | Gets file format content type The value of the property is FileContentType integer constant. |
Result:
getFileFormatType
Name | Description |
---|---|
getFileFormatType() | Gets file format type |
Result:
loadAttributes
Name | Description |
---|---|
loadAttributes(scene, fileName, prefix) | Load the attributes from specified file name |
Parameters:
Name | Type | Description |
---|---|---|
scene | Scene | The scene where the attributes will be applied to |
fileName | String | The file’s name that contains the attributes |
prefix | String | The prefix of the attributes that used to avoid conflict of names, default value is “rvm:” |
Result:
createLoadOptions
Name | Description |
---|---|
createLoadOptions() | Create a default load options for this file format |
Result: LoadOptions
createSaveOptions
Name | Description |
---|---|
createSaveOptions() | Create a default save options for this file format |
Result: SaveOptions
toString
Name | Description |
---|---|
toString() | Formats to string |
Result: String