AssetInfo
Overview
AssetInfo is a class in Aspose.3D FOSS for .NET.
Inherits from: A3DObject, INamedObject.
Information of asset. Asset information can be attached to a Node. Child Node can have its own AssetInfo to override parent’s definition.
This class provides 6 methods for working with AssetInfo objects in .NET programs.
Available methods include: A3DObject, AssetInfo, FindProperty, GetProperty, RemoveProperty, SetProperty.
All public members are accessible to any .NET application after installing the Aspose.3D FOSS for .NET package.
Properties: Ambient, ApplicationName, ApplicationVendor, ApplicationVersion, Author, AxisSystem, and 16 more.
Properties
| 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. |
Methods
| 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) |