AssetInfo

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

NameDescription
constructor()Initializes a new instance of the AssetInfo class.

Result:


constructor_overload

NameDescription
constructor_overload(name)Initializes a new instance of the AssetInfo class.

Parameters:

NameTypeDescription
nameStringName

Result:


getCreationTime

NameDescription
getCreationTime()Gets or Sets the creation time of this asset

Result:


getModificationTime

NameDescription
getModificationTime()Gets or Sets the modification time of this asset

Result:


getAmbient

NameDescription
getAmbient()Gets or Sets the default ambient color of this asset

Result:


getUrl

NameDescription
getUrl()Gets or Sets the URL of this asset.

Result:


setUrl

NameDescription
setUrl(value)Gets or Sets the URL of this asset.

Result:


getApplicationVendor

NameDescription
getApplicationVendor()Gets or sets the application vendor’s name

Result:


setApplicationVendor

NameDescription
setApplicationVendor(value)Gets or sets the application vendor’s name

Result:


getCopyright

NameDescription
getCopyright()Gets or sets the document’s copyright

Result:


setCopyright

NameDescription
setCopyright(value)Gets or sets the document’s copyright

Result:


getApplicationName

NameDescription
getApplicationName()Gets or sets the application that created this asset

Result:


setApplicationName

NameDescription
setApplicationName(value)Gets or sets the application that created this asset

Result:


getApplicationVersion

NameDescription
getApplicationVersion()Gets or sets the version of the application that created this asset.

Result:


setApplicationVersion

NameDescription
setApplicationVersion(value)Gets or sets the version of the application that created this asset.

Result:


getTitle

NameDescription
getTitle()Gets or sets the title of this asset

Result:


setTitle

NameDescription
setTitle(value)Gets or sets the title of this asset

Result:


getSubject

NameDescription
getSubject()Gets or sets the subject of this asset

Result:


setSubject

NameDescription
setSubject(value)Gets or sets the subject of this asset

Result:


getAuthor

NameDescription
getAuthor()Gets or sets the author of this asset

Result:


setAuthor

NameDescription
setAuthor(value)Gets or sets the author of this asset

Result:


getKeywords

NameDescription
getKeywords()Gets or sets the keywords of this asset

Result:


setKeywords

NameDescription
setKeywords(value)Gets or sets the keywords of this asset

Result:


getRevision

NameDescription
getRevision()Gets or sets the revision number of this asset, usually used in version control system.

Result:


setRevision

NameDescription
setRevision(value)Gets or sets the revision number of this asset, usually used in version control system.

Result:


getComment

NameDescription
getComment()Gets or sets the comment of this asset.

Result:


setComment

NameDescription
setComment(value)Gets or sets the comment of this asset.

Result:


getUnitName

NameDescription
getUnitName()Gets or sets the unit of length used in this asset. e.g. cm/m/km/inch/feet

Result:


setUnitName

NameDescription
setUnitName(value)Gets or sets the unit of length used in this asset. e.g. cm/m/km/inch/feet

Result:


getUnitScaleFactor

NameDescription
getUnitScaleFactor()Gets or sets the scale factor to real-world meter. This is ignored during serialization if the unit name is null.

Result:


setUnitScaleFactor

NameDescription
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

NameDescription
getCoordinatedSystem()Gets or sets the coordinate system used in this asset.

Result:


getUpVector

NameDescription
getUpVector()Gets or sets the up-vector used in this asset.

Result:


getName

NameDescription
getName()Gets or sets the name. The name.

Result:


setName

NameDescription
setName(value)Gets or sets the name. The name.

Result:


getProperties

NameDescription
getProperties()Gets the collection of all properties.

Result:


removeProperty

NameDescription
removeProperty(property)Removes a dynamic property.

Parameters:

NameTypeDescription
propertyPropertyWhich property to remove

Result: boolean


removeProperty

NameDescription
removeProperty(property)Remove the specified property identified by name

Parameters:

NameTypeDescription
propertStringnull

Result: boolean


getProperty

NameDescription
getProperty(property)Get the value of specified property

Parameters:

NameTypeDescription
propertyStringProperty name

Result: Object


setProperty

NameDescription
setProperty(property, value)Sets the value of specified property

Parameters:

NameTypeDescription
propertyStringProperty name
valueObjectThe value of the property

Result: Object


findProperty

NameDescription
findProperty(propertyName)Finds the property. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name)

Parameters:

NameTypeDescription
propertyNameStringProperty name.

Result: Property