Enables an additional OpenGL clipping plane that can be in shaders using gl_ClipDistance More...
|qmake:||QT += 3drender|
- plane : int
- 1 public function inherited from Qt3DRender::QRenderState
- 6 public functions inherited from Qt3DCore::QNode
- 31 public functions inherited from QObject
|void||copy(const Qt3DCore::QNode *ref)|
Additional Inherited Members
- 11 static public members inherited from QObject
- 1 static protected member inherited from Qt3DCore::QNode
Enables an additional OpenGL clipping plane that can be in shaders using gl_ClipDistance
By default, OpenGL supports up to 8 additional clipping planes. Qt3DCore::QClipPlane 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 8.
Member Function Documentation
Default constructs an instance of QClipPlane.
Destroys the instance of QClipPlane.
Returns the index of the clip plane.
Note: usually between 0-7
Note: Getter function for property plane.
See also setPlane().
Sets the index of the clip plane to plane.
Note: above 7, support is not garanteed
Note: Setter function for property plane.
See also plane().
© 2017 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.