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

NameTypeAccessDescription
CreationTimeNullable<DateTime>Read/WriteGets or sets the creation time.
ModificationTimeNullable<DateTime>Read/WriteGets or sets the modification time.
AmbientNullable<Vector4>Read/WriteGets or sets the ambient.
UrlstringRead/WriteGets or sets the url.
ApplicationVendorstringRead/WriteGets or sets the application vendor.
CopyrightstringRead/WriteGets or sets the copyright.
ApplicationNamestringRead/WriteGets or sets the application name.
ApplicationVersionstringRead/WriteGets or sets the application version.
TitlestringRead/WriteGets or sets the title.
SubjectstringRead/WriteGets or sets the subject.
AuthorstringRead/WriteGets or sets the author.
KeywordsstringRead/WriteGets or sets the keywords.
RevisionstringRead/WriteGets or sets the revision.
CommentstringRead/WriteGets or sets the comment.
UnitNamestringRead/WriteGets or sets the unit name.
UnitScaleFactordoubleRead/WriteGets or sets the unit scale factor.
CoordinateSystemNullable<CoordinateSystem>Read/WriteGets or sets the coordinate system.
UpVectorNullable<Axis>Read/WriteGets or sets the up vector.
FrontVectorNullable<Axis>Read/WriteGets or sets the front vector.
AxisSystemAxisSystemRead/WriteGets or sets the axis system.
NamestringRead/WriteGets or sets the name.
PropertiesPropertyCollectionReadGets the properties.
SignatureDescription
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)
 Tiếng Việt