Overview
AssetInfo is a metadata container attached to a Scene via Scene.asset_info (or to a Node via Node.asset_info). It stores information about the file’s origin: the tool that created it, measurement units, creation/modification timestamps, and optional axis-system settings.
AssetInfo inherits from A3DObject.
Package: aspose.threed
Constructor
| Signature | Description |
|---|
AssetInfo() | Constructs with all fields empty/default |
AssetInfo(name) | Constructs with an optional object name |
Properties
All fields are readable and writable properties.
Authoring and Identification
| Name | Type | Description |
|---|
title | str | Human-readable title of the asset |
subject | str | Subject or topic of the asset |
author | str | Name of the file’s author |
keywords | str | Keywords associated with the asset |
revision | str | Version or revision string |
comment | str | Freeform comment or description |
copyright | str | Copyright notice |
url | str | Source URL or reference URI |
Application Information
| Name | Type | Description |
|---|
application_name | str | Name of the authoring application (e.g., "Blender") |
application_vendor | str | Vendor of the authoring application |
application_version | str | Version string of the authoring application |
Timestamps
| Name | Type | Description |
|---|
creation_time | datetime | None | Creation date/time of the asset |
modification_time | datetime | None | Last modification date/time |
Units
| Name | Type | Description |
|---|
unit_name | str | Name of the measurement unit (e.g., "centimeter", "meter") |
unit_scale_factor | float | Scale factor to convert from the file’s units to meters; defaults to 1.0 |
Coordinate System (stub properties)
The following properties are present but return None in the current FOSS release. They are reserved for future axis-remapping support.
| Name | Description |
|---|
coordinate_system | Handedness convention (right-hand or left-hand) |
up_vector | Which axis points up |
front_vector | Which axis points forward |
axis_system | Combined axis-system descriptor |
ambient | Scene ambient colour |
Example
See Also