AssetInfo
Methoden
AssetInfo is een metadatablok die is gekoppeld aan een Scene. Het erft van A3DObject, die de Name eigenschap en een Properties collectie voor het opslaan van willekeurige metadata. In de huidige FOSS-editie, AssetInfo definieert geen extra eigenschappen buiten die geërfd zijn van A3DObject.
Toegang via scene.AssetInfo.
Zie ook
| Name | Type | Access | Description |
|---|---|---|---|
CreationTime | Nullable<DateTime> | Read/Write | Gets or sets the creation time. |
ModificationTime | Nullable<DateTime> | Read/Write | Gets or sets the modification time. |
Ambient | Nullable<Vector4> | Read/Write | Gets or sets the ambient. |
Url | string | Read/Write | Gets or sets the url. |
ApplicationVendor | string | Read/Write | Gets or sets the application vendor. |
Copyright | string | Read/Write | Gets or sets the copyright. |
ApplicationName | string | Read/Write | Gets or sets the application name. |
ApplicationVersion | string | Read/Write | Gets or sets the application version. |
Title | string | Read/Write | Gets or sets the title. |
Subject | string | Read/Write | Gets or sets the subject. |
Author | string | Read/Write | Gets or sets the author. |
Keywords | string | Read/Write | Gets or sets the keywords. |
Revision | string | Read/Write | Gets or sets the revision. |
Comment | string | Read/Write | Gets or sets the comment. |
UnitName | string | Read/Write | Gets or sets the unit name. |
UnitScaleFactor | double | Read/Write | Gets or sets the unit scale factor. |
CoordinateSystem | Nullable<CoordinateSystem> | Read/Write | Gets or sets the coordinate system. |
UpVector | Nullable<Axis> | Read/Write | Gets or sets the up vector. |
FrontVector | Nullable<Axis> | Read/Write | Gets or sets the front vector. |
AxisSystem | AxisSystem | Read/Write | Gets or sets the axis system. |
Name | string | Read/Write | Gets or sets the name. |
Properties | PropertyCollection | Read | Gets the properties. |
| Signature | Description |
|---|---|
AssetInfo() | Creates a new AssetInfo instance |
AssetInfo(name: string) | |
A3DObject() | |
RemoveProperty(property: Property) | Removes a dynamic property. |
GetProperty(property: string) | Get the value of specified property |
SetProperty(property: string, value: object?) | Sets the value of specified property |
FindProperty(propertyName: string) | Finds the property. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name) |