AssetInfo
Methods
AssetInfo ir metadatu bloks, kas pievienots Scene. Tas manto no A3DObject, nodrošinot Name īpašību un Properties kolekcija, lai uzglabātu patvaļīgus metadatus. Pašreizējā FOSS izdevumā, AssetInfo nedefinē papildu īpašības, izņemot tās, kas mantotas no A3DObject.
Piekļuve caur scene.AssetInfo.
Skatīt arī
| 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) |