GeometryRenderer QML Type
지오메트리 렌더링을 캡슐화합니다. 더 보기...
Import Statement: | import Qt3D.Render 2.8 |
In C++: | QGeometryRenderer |
Inherits: | |
Status: | Deprecated |
속성
- firstInstance : int
- firstVertex : int
- geometry : Geometry
- indexBufferByteOffset : int
- indexOffset : int
- instanceCount : int
- primitiveRestartEnabled : bool
- primitiveType : enumeration
- restartIndexValue : int
- sortIndex : float
(since 6.0)
- vertexCount : int
- verticesPerPatch : int
상세 설명
지오메트리 렌더러는 지오메트리를 그리는 데 필요한 모든 정보를 보유합니다. 지오메트리는 지오메트리 데이터의 좌표를 보유하며, 지오메트리 렌더러는 해당 데이터를 해석하는 방법을 지정합니다.
속성 문서
firstInstance : int |
베이스 인스턴스를 보유합니다.
firstVertex : int |
첫 번째 버텍스를 보유합니다.
geometry : Geometry |
지오메트리를 보유합니다.
indexBufferByteOffset : int |
인덱스 버퍼에 바이트 오프셋을 보유합니다.
indexOffset : int |
베이스 버텍스를 보유합니다.
instanceCount : int |
인스턴스 수를 보유합니다.
primitiveRestartEnabled : bool |
프리미티브 재시작 플래그를 보유합니다.
primitiveType : enumeration |
프리미티브 유형을 보유합니다.
- QGeometryRenderer.Points
- QGeometryRenderer.Lines
- QGeometryRenderer.LineLoop
- QGeometryRenderer.LineStrip
- QGeometryRenderer.Triangles
- QGeometryRenderer.TriangleStrip
- QGeometryRenderer.TriangleFan
- QGeometryRenderer.LinesAdjacency
- QGeometryRenderer.TrianglesAdjacency
- QGeometryRenderer.LineStripAdjacency
- QGeometryRenderer.TriangleStripAdjacency
- QGeometryRenderer.Patches
restartIndexValue : int |
재시작 인덱스를 보유합니다.
sortIndex : float |
깊이 정렬이 활성화된 경우 정렬 인덱스를 재정의합니다.
프레임 그래프에서 깊이 정렬이 활성화된 경우 렌더러는 바운딩 볼륨의 중심이 카메라에서 얼마나 멀리 떨어져 있는지를 기준으로 오브젝트를 정렬하고 가장 먼 오브젝트부터 가장 가까운 오브젝트까지 렌더링합니다.
이 속성을 사용하여 깊이 인덱스를 재정의하고 오브젝트가 렌더링되는 순서를 정밀하게 제어할 수 있습니다. 모든 오브젝트가 카메라에서 동일한 물리적 거리에 있을 때 유용합니다.
실제 값은 중요하지 않으며 오브젝트를 정렬하는 순서를 정의할 뿐입니다. 가장 작은 값을 가진 오브젝트가 먼저 그려진 다음 두 번째로 작은 오브젝트가 그려지는 식으로 정렬됩니다.
참고: -1.f로 설정하면 이 엔티티에 대한 명시적 정렬이 비활성화되고 바운딩 볼륨의 중심으로부터의 거리를 사용하는 것으로 되돌아갑니다.
이 속성은 Qt 6.0에 도입되었습니다.
SortPolicy 를참조하십시오 .
vertexCount : int |
버텍스 수를 보유합니다.
verticesPerPatch : int |
패치당 정점을 보유합니다.
© 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.