ClipPlane QML Type
gl_ClipDistance를 사용하여 셰이더에 포함할 수 있는 추가 OpenGL 클리핑 평면을 활성화합니다. 더 보기...
Import Statement: | import Qt3D.Render 2.8 |
In C++: | QClipPlane |
Inherits: | |
Status: | Deprecated |
속성
- distance : real
- normal : vector3d
- planeIndex : int
자세한 설명
기본적으로 OpenGL은 최대 8개의 추가 클리핑 평면을 지원합니다. ClipPlane을 사용하면 이러한 추가 평면 중 하나를 활성화할 수 있습니다. 이 평면은 셰이더에서 gl_ClipDistance[i]를 사용하여 조작할 수 있으며, 여기서 i는 0에서 7 사이로 변경할 수 있습니다. 기본 구현은 8개 이상의 클립 평면을 지원할 수 있지만 보장되지는 않습니다.
프로퍼티 문서
distance : real |
월드 원점으로부터 평면의 거리를 보유합니다.
normal : vector3d |
평면의 법선을 보유합니다.
planeIndex : int |
평면의 인덱스를 보유합니다.
참고: 보통 0~7 사이입니다.
© 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.