Qt3DRender.QClipPlane¶
Enables an additional OpenGL clipping plane that can be in shaders using gl_ClipDistance. More…
Synopsis¶
Functions¶
def
distance
()def
normal
()def
planeIndex
()
Slots¶
def
setDistance
(arg__1)def
setNormal
(arg__1)def
setPlaneIndex
(arg__1)
Signals¶
def
distanceChanged
(distance)def
normalChanged
(normal)def
planeIndexChanged
(planeIndex)
Detailed Description¶
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 7. The underlying implementation may support more than 8 clip planes, but it is not guaranteed.
-
class
PySide2.Qt3DRender.Qt3DRender.
QClipPlane
([parent=None])¶ - Parameters
parent –
QNode
-
PySide2.Qt3DRender.Qt3DRender.QClipPlane.
distance
()¶ - Return type
float
See also
setDistance()
-
PySide2.Qt3DRender.Qt3DRender.QClipPlane.
distanceChanged
(distance)¶ - Parameters
distance –
float
-
PySide2.Qt3DRender.Qt3DRender.QClipPlane.
normal
()¶ - Return type
QVector3D
See also
setNormal()
-
PySide2.Qt3DRender.Qt3DRender.QClipPlane.
normalChanged
(normal)¶ - Parameters
normal –
QVector3D
-
PySide2.Qt3DRender.Qt3DRender.QClipPlane.
planeIndex
()¶ - Return type
int
See also
setPlaneIndex()
-
PySide2.Qt3DRender.Qt3DRender.QClipPlane.
planeIndexChanged
(planeIndex)¶ - Parameters
planeIndex –
int
-
PySide2.Qt3DRender.Qt3DRender.QClipPlane.
setDistance
(arg__1)¶ - Parameters
arg__1 –
float
See also
distance()
-
PySide2.Qt3DRender.Qt3DRender.QClipPlane.
setNormal
(arg__1)¶ - Parameters
arg__1 –
QVector3D
See also
normal()
-
PySide2.Qt3DRender.Qt3DRender.QClipPlane.
setPlaneIndex
(arg__1)¶ - Parameters
arg__1 –
int
See also
planeIndex()
© 2018 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.