AssetInfo
Metody
AssetInfo jest blokiem metadanych dołączonym do Scene. Dziedziczy po A3DObject, zapewniając Name właściwość i Properties kolekcja do przechowywania dowolnych metadanych. W bieżącej edycji FOSS, AssetInfo nie definiuje dodatkowych właściwości poza tymi odziedziczonymi po A3DObject.
Dostęp przez scene.AssetInfo.
Zobacz także
| 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) |