ClipPlane QML Type
gl_ClipDistance を使用して、シェーダー内で利用可能な追加の OpenGL クリッピングプレーンを有効にします。詳細...
| Import Statement: | import Qt3D.Render 2.12 |
| 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の範囲です。
© 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.