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.

public class AssetInfo : A3DObject

Constructors

Name Description
AssetInfo() Initializes a new instance of the AssetInfo class.
AssetInfo(string) Initializes a new instance of the AssetInfo class.

Properties

Name Description
Ambient { get; set; } Gets or Sets the default ambient color of this asset
ApplicationName { get; set; } Gets or sets the application that created this asset
ApplicationVendor { get; set; } Gets or sets the application vendor’s name
ApplicationVersion { get; set; } Gets or sets the version of the application that created this asset.
Author { get; set; } Gets or sets the author of this asset
Comment { get; set; } Gets or sets the comment of this asset.
CoordinatedSystem { get; set; } Gets or sets the coordinate system used in this asset.
Copyright { get; set; } Gets or sets the document’s copyright
CreationTime { get; set; } Gets or Sets the creation time of this asset
Keywords { get; set; } Gets or sets the keywords of this asset
ModificationTime { get; set; } Gets or Sets the modification time of this asset
virtual Name { get; set; } Gets or sets the name.
Properties { get; } Gets the collection of all properties.
Revision { get; set; } Gets or sets the revision number of this asset, usually used in version control system.
Subject { get; set; } Gets or sets the subject of this asset
Title { get; set; } Gets or sets the title of this asset
UnitName { get; set; } Gets or sets the unit of length used in this asset. e.g. cm/m/km/inch/feet
UnitScaleFactor { get; set; } Gets or sets the scale factor to real-world meter.
UpVector { get; set; } Gets or sets the up-vector used in this asset.
Url { get; set; } Gets or Sets the URL of this asset.

Methods

Name Description
FindProperty(string) Finds the property. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name)
GetProperty(string) Get the value of specified property
RemoveProperty(Property) Removes a dynamic property.
RemoveProperty(string) Remove the specified property identified by name
SetProperty(string, object) Sets the value of specified property

See Also