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

InstanceListEntry QML Type

Specifies an instance in an InstanceList.

This type was introduced in Qt 6.2.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

InstanceListEntry QML Type

  • Import Statement: import QtQuick3D

  • Since:: Qt 6.2

  • Inherits:: Object3D

Detailed Description

The InstanceListEntry QML type is used to specify one instance in an instance list.

All the properties can have bindings and animation. Changing a property will cause the entire instance table to be recalculated and uploaded to the GPU, so this can be expensive for instance lists with many members.

Property Documentation

 

color : vector3d

This property specifies the color for the instance.

customData : vector4d

This property specifies the custom data for the instance. This is not used by default, but is made available to the vertex shader of custom materials as INSTANCE_DATA.

eulerRotation : vector3d

This property specifies the rotation for the instance as an Euler vector, that is a vector containing the rotation in degrees around the x, y and z axes.

position : vector3d

This property specifies the position for the instance.

rotation : quaternion

This property specifies the rotation for the instance as a quaternion.

scale : vector3d

This property specifies the scale for the instance as a vector containing the scale factor along the x, y and z axes.

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