Layer QML Type
레이어는 렌더링할 엔티티를 필터링하는 방법을 제공합니다. 더 보기...
Import Statement: | import Qt3D.Render 2.8 |
In C++: | QLayer |
Inherits: | |
Status: | Deprecated |
속성
- recursive : bool
자세한 설명
레이어는 프레임그래프에서 LayerFilter 와 함께 작동합니다.
재귀 속성을 true로 설정하여 엔티티의 하위 트리에 레이어를 적용할 수 있습니다.
import Qt3D.Core 2.0 import Qt3D.Render 2.0 Entity { id: root components: RenderSettings { // FrameGraph Viewport { ClearBuffers { buffers: ClearBuffers.ColorDepthBuffer CameraSelector { camera: mainCamera LayerFilter { layers: [layer1] } } } } } // Scene Camera { id: mainCamera } Layer { id: layer1 recursive: true } GeometryRenderer { id: mesh } Entity { id: renderableEntity components: [ mesh, layer1 ] } }
LayerFilter 를참조하세요 .
속성 문서
recursive : bool |
레이어가 엔티티 하위 트리에도 적용되는지 여부를 지정합니다.
© 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.