IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

InstanceModel QML Type

Defines a data model based on an instance table.

This type was introduced in Qt 6.4.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

InstanceModel QML Type

  • Import Statement: import QtQuick3D.Helpers

  • Since:: Qt 6.4

  • Inherits:: Object3D

Detailed Description

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

The following roles are available:

Role name

Description

modelPosition

The position of the instance as a vector3d

modelRotation

The rotation of the instance as a quaternion

modelScale

The scale of the instance as a vector3d

modelColor

The color of the instance

modelData

The custom data of the instance as a vector4d

See Also

See also InstanceRepeater

Property Documentation

 

instancingTable : Instancing

This property specifies the underlying instance table of the model.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+