ClipPlane QML Type

gl_ClipDistanceを使用するシェーダーで使用できる追加のOpenGLクリッピングプレーンを有効にします。詳細...

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

RenderState

Status: Deprecated

プロパティ

詳細説明

デフォルトでは、OpenGLは最大8つの追加クリッピングプレーンをサポートしている。ClipPlaneは、これらの追加プレーンの1つを有効にすることができます。これらのプレーンは、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.