ClipPlane QML Type
Enables an additional OpenGL clipping plane that can be in shaders using gl_ClipDistance. More...
By default, OpenGL supports up to 8 additional clipping planes. ClipPlane allows to enable one of these additional planes. These planes can then be manipulated in the shaders using gl_ClipDistance[i] where i varies between 0 and 7. The underlying implementation may support more than 8 clip planes, but it is not guaranteed.
distance : real
Holds the distance of the plane from the world origin.
normal : vector3d
Holds the normal of the plane.
planeIndex : int
Holds the index of the plane.
Note: Usually between 0-7.
© 2023 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.