EntityLoader QML Type
Entity サブツリーを動的にロードする方法を提供します。詳細...
| Import Statement: | import Qt3D.Core 2.11 |
| Inherits: | |
| Status: | Deprecated |
プロパティ
詳細説明
EntityLoaderは、qmlソースファイルから定義済みのエンティティセットをロードする機能を提供する。EntityLoader自体はエンティティであり、ロードされたエンティティツリーはloaderの子として設定されます。ロードされたエンティティツリーのルートには、EntityLoader::entity プロパティでアクセスできます。
EntityLoader {
id: loader
source: "./SphereEntity.qml"
}プロパティのドキュメント
entity : QtQml::QtObject [read-only]
ロードされたエンティティ・ツリーのルートを保持します。
このプロパティは、ローダーのコンテンツへのアクセスを許可します。Status プロパティがEntityLoader.Ready に等しい場合は有効な Entity オブジェクトを参照し、そうでない場合は null になります。
source : url
ソースの URL を保持します。
status : Status
エンティティローダーのステータスを保持します。
- EntityLoader.Null
- EntityLoader.Loading
- EntityLoader.Ready
- EntityLoader.Error
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.