内容表

上一话题

Qt3DRender.QClearBuffers

下一话题

Qt3DRender.QColorMask

Qt3DRender.QClipPlane

Enables an additional OpenGL clipping plane that can be in shaders using gl_ClipDistance. 更多

Inheritance diagram of PySide2.Qt3DRender.Qt3DRender.QClipPlane

概要

函数

信号

详细描述

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 ] )
参数

parent QNode

PySide2.Qt3DRender.Qt3DRender.QClipPlane. distance ( )
返回类型

float

另请参阅

setDistance()

PySide2.Qt3DRender.Qt3DRender.QClipPlane. distanceChanged ( distance )
参数

distance float

PySide2.Qt3DRender.Qt3DRender.QClipPlane. normal ( )
返回类型

QVector3D

另请参阅

setNormal()

PySide2.Qt3DRender.Qt3DRender.QClipPlane. normalChanged ( normal )
参数

normal QVector3D

PySide2.Qt3DRender.Qt3DRender.QClipPlane. planeIndex ( )
返回类型

int

另请参阅

setPlaneIndex()

PySide2.Qt3DRender.Qt3DRender.QClipPlane. planeIndexChanged ( planeIndex )
参数

planeIndex int

PySide2.Qt3DRender.Qt3DRender.QClipPlane. setDistance ( arg__1 )
参数

arg__1 float

另请参阅

distance()

PySide2.Qt3DRender.Qt3DRender.QClipPlane. setNormal ( arg__1 )
参数

arg__1 QVector3D

另请参阅

normal()

PySide2.Qt3DRender.Qt3DRender.QClipPlane. setPlaneIndex ( arg__1 )
参数

arg__1 int

另请参阅

planeIndex()