이 페이지에서

ClipPlane QML Type

gl_ClipDistance를 사용하여 셰이더 내에서 사용할 수 있는 추가 OpenGL 클리핑 평면을 활성화합니다. 더 보기...

Import Statement: import Qt3D.Render 2.12
In C++: QClipPlane
Inherits:

RenderState

Status: Deprecated

이 유형은 더 이상 사용되지 않습니다. 새로운 코드에서는 이 유형을 사용하지 않는 것을 강력히 권장합니다.

속성

자세한 설명

기본적으로 OpenGL은 최대 8개의 추가 클리핑 평면을 지원합니다. ClipPlane을 사용하면 이러한 추가 평면 중 하나를 활성화할 수 있습니다. 이후 셰이더 내에서 gl_ClipDistance[i]를 사용하여 해당 평면을 조작할 수 있으며, 여기서 i는 0에서 7 사이의 값을 가집니다. 기본 구현에서는 8개 이상의 클리핑 평면을 지원할 수도 있지만, 이는 보장되지 않습니다.

속성 설명서

distance : real

평면과 세계 좌표계의 원점 사이의 거리를 저장합니다.

normal : vector3d

평면의 법선을 보유합니다.

planeIndex : int

평면의 인덱스를 저장합니다.

참고: 일반적으로 0~7 사이입니다.

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