AssetInfo
Phương pháp
AssetInfo là một khối siêu dữ liệu được gắn vào một Scene. Nó kế thừa từ A3DObject, cung cấp Name thuộc tính và một Properties bộ sưu tập để lưu trữ siêu dữ liệu tùy ý. Trong phiên bản FOSS hiện tại, AssetInfo không định nghĩa các thuộc tính bổ sung ngoài những thuộc tính được kế thừa từ A3DObject.
Truy cập qua scene.AssetInfo.
Xem thêm
| 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) |