InstanceModel QML Type

Defines a data model based on an instance table. More...

Properties

Detailed Description

\inheritsObject3D \inqmlmodule QtQuick3D.Helpers \since 6.4

The InstanceModel QML type is a data model that provides access to the elements of an Instancing table.

The following roles are available:

Role nameDescription
modelPositionThe position of the instance as a vector3d
modelRotationThe rotation of the instance as a quaternion
modelScaleThe scale of the instance as a vector3d
modelColorThe color of the instance
modelDataThe custom data of the instance as a vector4d

See also InstanceRepeater.

Property Documentation

instancingTable : Instancing

This property specifies the underlying instance table of the model.