AssetInfo
Contents
[
Hide
]AssetInfo class
Information of asset. Asset information can be attached to a Scene. Child Scene can have its own AssetInfo to override parent’s definition.
Methods
constructor
Name | Description |
---|---|
constructor() | Initializes a new instance of the AssetInfo class. |
Result:
constructor_overload
Name | Description |
---|---|
constructor_overload(name) | Initializes a new instance of the AssetInfo class. |
Parameters:
Name | Type | Description |
---|---|---|
name | String | Name |
Result:
getCreationTime
Name | Description |
---|---|
getCreationTime() | Gets or Sets the creation time of this asset |
Result:
getModificationTime
Name | Description |
---|---|
getModificationTime() | Gets or Sets the modification time of this asset |
Result:
getAmbient
Name | Description |
---|---|
getAmbient() | Gets or Sets the default ambient color of this asset |
Result:
getUrl
Name | Description |
---|---|
getUrl() | Gets or Sets the URL of this asset. |
Result:
setUrl
Name | Description |
---|---|
setUrl(value) | Gets or Sets the URL of this asset. |
Result:
getApplicationVendor
Name | Description |
---|---|
getApplicationVendor() | Gets or sets the application vendor’s name |
Result:
setApplicationVendor
Name | Description |
---|---|
setApplicationVendor(value) | Gets or sets the application vendor’s name |
Result:
getCopyright
Name | Description |
---|---|
getCopyright() | Gets or sets the document’s copyright |
Result:
setCopyright
Name | Description |
---|---|
setCopyright(value) | Gets or sets the document’s copyright |
Result:
getApplicationName
Name | Description |
---|---|
getApplicationName() | Gets or sets the application that created this asset |
Result:
setApplicationName
Name | Description |
---|---|
setApplicationName(value) | Gets or sets the application that created this asset |
Result:
getApplicationVersion
Name | Description |
---|---|
getApplicationVersion() | Gets or sets the version of the application that created this asset. |
Result:
setApplicationVersion
Name | Description |
---|---|
setApplicationVersion(value) | Gets or sets the version of the application that created this asset. |
Result:
getTitle
Name | Description |
---|---|
getTitle() | Gets or sets the title of this asset |
Result:
setTitle
Name | Description |
---|---|
setTitle(value) | Gets or sets the title of this asset |
Result:
getSubject
Name | Description |
---|---|
getSubject() | Gets or sets the subject of this asset |
Result:
setSubject
Name | Description |
---|---|
setSubject(value) | Gets or sets the subject of this asset |
Result:
getAuthor
Name | Description |
---|---|
getAuthor() | Gets or sets the author of this asset |
Result:
setAuthor
Name | Description |
---|---|
setAuthor(value) | Gets or sets the author of this asset |
Result:
getKeywords
Name | Description |
---|---|
getKeywords() | Gets or sets the keywords of this asset |
Result:
setKeywords
Name | Description |
---|---|
setKeywords(value) | Gets or sets the keywords of this asset |
Result:
getRevision
Name | Description |
---|---|
getRevision() | Gets or sets the revision number of this asset, usually used in version control system. |
Result:
setRevision
Name | Description |
---|---|
setRevision(value) | Gets or sets the revision number of this asset, usually used in version control system. |
Result:
getComment
Name | Description |
---|---|
getComment() | Gets or sets the comment of this asset. |
Result:
setComment
Name | Description |
---|---|
setComment(value) | Gets or sets the comment of this asset. |
Result:
getUnitName
Name | Description |
---|---|
getUnitName() | Gets or sets the unit of length used in this asset. e.g. cm/m/km/inch/feet |
Result:
setUnitName
Name | Description |
---|---|
setUnitName(value) | Gets or sets the unit of length used in this asset. e.g. cm/m/km/inch/feet |
Result:
getUnitScaleFactor
Name | Description |
---|---|
getUnitScaleFactor() | Gets or sets the scale factor to real-world meter. This is ignored during serialization if the unit name is null. |
Result:
setUnitScaleFactor
Name | Description |
---|---|
setUnitScaleFactor(value) | Gets or sets the scale factor to real-world meter. This is ignored during serialization if the unit name is null. |
Result:
getCoordinatedSystem
Name | Description |
---|---|
getCoordinatedSystem() | Gets or sets the coordinate system used in this asset. |
Result:
getUpVector
Name | Description |
---|---|
getUpVector() | Gets or sets the up-vector used in this asset. |
Result:
getName
Name | Description |
---|---|
getName() | Gets or sets the name. The name. |
Result:
setName
Name | Description |
---|---|
setName(value) | Gets or sets the name. The name. |
Result:
getProperties
Name | Description |
---|---|
getProperties() | Gets the collection of all properties. |
Result:
removeProperty
Name | Description |
---|---|
removeProperty(property) | Removes a dynamic property. |
Parameters:
Name | Type | Description |
---|---|---|
property | Property | Which property to remove |
Result: boolean
removeProperty
Name | Description |
---|---|
removeProperty(property) | Remove the specified property identified by name |
Parameters:
Name | Type | Description |
---|---|---|
propert | String | null |
Result: boolean
getProperty
Name | Description |
---|---|
getProperty(property) | Get the value of specified property |
Parameters:
Name | Type | Description |
---|---|---|
property | String | Property name |
Result: Object
setProperty
Name | Description |
---|---|
setProperty(property, value) | Sets the value of specified property |
Parameters:
Name | Type | Description |
---|---|---|
property | String | Property name |
value | Object | The value of the property |
Result: Object
findProperty
Name | Description |
---|---|
findProperty(propertyName) | Finds the property. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name) |
Parameters:
Name | Type | Description |
---|---|---|
propertyName | String | Property name. |
Result: Property