GeometryView QML Type

封装几何体细节。更多

Import Statement: import Qt3D.Core 2.9
Since: Qt 6.0
In C++: QGeometryView
Inherits:

Node

Status: Deprecated

属性

详细说明

GeometryView 包含处理几何体所需的所有信息。一个几何体保存几何体数据的坐标,而 GeometryView 则指定如何解释这些数据。

属性文档

firstInstance : int

保存基本实例。


firstVertex : int

保存第一个顶点


geometry : Geometry

保存几何体


indexBufferByteOffset : int

保存索引缓冲区的字节偏移。


indexOffset : int

保存基本顶点。


instanceCount : int

保存实例计数。


primitiveRestart : bool

保存基元重启标志。


primitiveType : enumeration

保存基元类型

  • QGeometryView.点
  • QGeometryView.Line
  • QGeometryView.LineLoop
  • QGeometryView.LineStrip
  • QGeometryView.Triangles 三角形
  • QGeometryView.TriangleStrip
  • Q几何视图.三角形扇形
  • QGeometryView.LinesAdjacency
  • QGeometryView.TrianglesAdjacency
  • QGeometryView.LineStripAdjacency
  • QGeometryView.TriangleStripAdjacency
  • QGeometryView.Patches

另请参阅 Qt3DCore::QGeometryView::PrimitiveType


restartIndex : int

保存重启索引。


vertexCount : int

保存顶点计数。


verticesPerPatch : int

保存每个补丁的顶点。


© 2025 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.