Example
AssetInfo は、…に添付されるメタデータコンテナです Scene を介して Scene.asset_info (または…へ Node を介して Node.asset_info)。ファイルの起源に関する情報を保存します:それを作成したツール、測定単位、作成/変更タイムスタンプ、そしてオプションの軸系設定です。.
AssetInfo は…から継承します A3DObject.
Example: aspose.threed
Example
| Example | Example |
|---|
AssetInfo() | は、すべてのフィールドが空またはデフォルトの状態で構築されます |
AssetInfo(name) | は、オプションのオブジェクト名を指定して構築されます |
Example
すべてのフィールドは読み取り可能かつ書き込み可能なプロパティです。.
作成と識別
| Example | Example | Example |
|---|
title | str | 資産の人間が読めるタイトル |
subject | str | 資産の主題またはトピック |
author | str | ファイルの作者名 |
keywords | str | アセットに関連付けられたキーワード |
revision | str | バージョンまたはリビジョン文字列 |
comment | str | 自由形式のコメントまたは説明 |
copyright | str | 著作権表示 |
url | str | ソースURLまたは参照URI |
アプリケーション情報
| Example | Example | Example |
|---|
application_name | str | 作成アプリケーションの名前(例:., "Blender") |
application_vendor | str | 作成アプリケーションのベンダー |
application_version | str | 作成アプリケーションのバージョン文字列 |
Example
| Example | Example | Example |
|---|
creation_time | `datetime | None` |
modification_time | `datetime | None` |
Example
| Example | Example | Example |
|---|
unit_name | str | 測定単位の名前(例:., "centimeter", "meter") |
unit_scale_factor | float | ファイルの単位からメートルへの変換スケールファクタ;デフォルトは 1.0 |
座標系(スタブプロパティ)
以下のプロパティは存在しますが、返されるのは None 現在のFOSSリリースでは利用できません。将来の軸リマッピングサポートのために予約されています。.
| Example | Example |
|---|
coordinate_system | ハンドネスの規約(右手系または左手系) |
up_vector | どの軸が上方向を指すか |
front_vector | どの軸が前方向を指すか |
axis_system | 結合された軸系記述子 |
ambient | シーンのアンビエントカラー |
Example
参照