ClipPlane QML Type

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

import 语句: import Qt3D.Render 2.8
在 C++: QClipPlane
继承:

RenderState

状态: Deprecated

特性

详细描述

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.

注意: Usually between 0-7.

版权所有  © 2014-2026 乐数软件    

工业和信息化部: 粤ICP备14079481号-1