이 페이지에서

EntityLoader QML Type

엔티티 서브트리를 동적으로 로드하는 방법을 제공합니다. 더 보기...

Import Statement: import Qt3D.Core 2.11
Inherits:

Entity

Status: Deprecated

속성

상세 설명

엔티티로더는 qml 소스 파일에서 미리 정의된 엔티티 집합을 쉽게 로드할 수 있는 기능을 제공합니다. 엔티티로더 자체는 엔티티이며 로드된 엔티티 트리는 로더의 하위로 설정됩니다. 로드된 엔티티 트리 루트는 EntityLoader::entity 프로퍼티로 액세스할 수 있습니다.

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

속성 문서

entity : QtQml::QtObject [read-only]

로드된 엔티티 트리 루트를 보유합니다.

이 속성을 통해 로더의 콘텐츠에 액세스할 수 있습니다. 상태 속성이 EntityLoader.Ready와 같으면 유효한 엔티티 객체를 참조하고, 그렇지 않으면 null과 같습니다.

source : url

소스 URL을 보유합니다.

status : Status

엔티티 로더의 상태를 보유합니다.

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