ProceduralMeshSubset QML Type

Defines a subset of a ProceduralMesh. More...

Import Statement: import QtQuick3D.Helpers
Since: Qt 6.6



Detailed Description

This type defines a subset of a ProceduralMesh. Each subset can have it's own material and can be used to split the geometry into multiple draw calls.

See also ProceduralMesh::subsets.

Property Documentation

count : int [default: 0]

This property defines the number of indices to use for this subset. This property must be set for the subset to have content.

name : Material

This property defines a name of the subset. This property is optional, and is only used to tag the subset for debugging purposes.

offset : int [default: 0]

This property defines the starting index for this subset.

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