EntityLoader QML Type

Entity サブツリーを動的にロードする方法を提供します。詳細...

Import Statement: import Qt3D.Core 2.8
Inherits:

Entity

Status: Deprecated

プロパティ

詳細説明

EntityLoaderは、qmlソースファイルから定義済みのエンティティセットをロードする機能を提供する。EntityLoader自体はエンティティであり、ロードされたエンティティツリーはloaderの子として設定されます。ロードされたエンティティツリーのルートには、EntityLoader::entity プロパティでアクセスできます。

EntityLoader {
    id: loader
    source: "./SphereEntity.qml"
}

プロパティ ドキュメント

entity : QtQml::QtObject [read-only]

ロードされたエンティティツリーのルートを保持します。

このプロパティを使用すると、ローダーのコンテンツにアクセスできます。このプロパティは、status プロパティがEntityLoader.Ready に等しい場合、有効な Entity オブジェクトを参照します。


source : url

ソース URL を保持します。


status : Status

エンティティローダのステータスを保持します。


© 2025 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.