Encapsulates geometry rendering. 更多...
import 语句: | import Qt3D.Render 2.12 |
Since: | Qt 5.7 |
实例化: | QGeometryRenderer |
继承: | Component3D |
A GeometryRenderer holds all the information necessary to draw a Geometry. A Geometry holds the coordinates of the geometry data - GeometryRenderer specifies how to interpret that data.
firstInstance : int |
Holds the base instance.
firstVertex : int |
Holds the first vertex.
geometry : 几何体 |
Holds the geometry.
indexBufferByteOffset : int |
Holds the byte offset into the index buffer.
indexOffset : int |
Holds the base vertex.
instanceCount : int |
Holds the instance count.
primitiveRestart : bool |
Holds the primitive restart flag.
primitiveType : enumeration |
Holds the primitive type.
另请参阅 Qt3DRender::QGeometryRenderer::PrimitiveType .
restartIndex : int |
Holds the restart index.
vertexCount : int |
Holds the vertex count.
verticesPerPatch : int |
Holds vertices per patch.