- Qt 6.7
- Qt 3D
- QML Types
- Qt3D.Core
- GeometryView
- Qt 6.7.3 Reference Documentation

# GeometryView QML Type

Encapsulates geometry details. More...

Import Statement: | import Qt3D.Core 2.7
Since: | Qt 6.0
Instantiates: | QGeometryView
Inherits: | Node

- List of all members, including inherited members

## Properties

- firstInstance : int
- firstVertex : int
- geometry : Geometry
- indexBufferByteOffset : int
- indexOffset : int
- instanceCount : int
- primitiveRestart : bool
- primitiveType : enumeration
- restartIndex : int
- vertexCount : int
- verticesPerPatch : int

## Detailed Description

A GeometryView holds all the information necessary to handle a Geometry. A Geometry holds the coordinates of the geometry data - GeometryView specifies how to interpret that data.

## Property Documentation

firstInstance : int

Holds the base instance.

firstVertex : int

Holds the first vertex.

geometry : 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.

- QGeometryView.Points
- QGeometryView.Lines
- QGeometryView.LineLoop
- QGeometryView.LineStrip
- QGeometryView.Triangles
- QGeometryView.TriangleStrip
- QGeometryView.TriangleFan
- QGeometryView.LinesAdjacency
- QGeometryView.TrianglesAdjacency
- QGeometryView.LineStripAdjacency
- QGeometryView.TriangleStripAdjacency
- QGeometryView.Patches

See also Qt3DCore::QGeometryView::PrimitiveType.

restartIndex : int

Holds the restart index.

vertexCount : int

Holds the vertex count.

verticesPerPatch : int

Holds vertices per patch.