EntityLoader QML Type
엔티티 하위 트리를 동적으로 로드하는 방법을 제공합니다. 더 보기...
| Import Statement: | import Qt3D.Core 2.12 |
| Inherits: | |
| Status: | Deprecated |
이 유형은 더 이상 사용되지 않습니다. 새로운 코드에서는 이 유형을 사용하지 않는 것을 강력히 권장합니다.
속성
상세 설명
EntityLoader는 QML 소스 파일에서 미리 정의된 엔티티 집합을 로드하는 기능을 제공합니다. EntityLoader 자체도 엔티티이며, 로드된 엔티티 트리는 로더의 자식으로 설정됩니다. 로드된 엔티티 트리의 루트는 ` 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.준비됨
- EntityLoader.오류
© 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.