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

LevelOfDetailSwitch QML Type

Provides a way of enabling child entities based on distance or screen size.

This type was introduced in Qt 5.9.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

LevelOfDetailSwitch QML Type

  • Import Statement: import Qt3D.Render 2.4

  • Since:: Qt 5.9

  • Inherits:: Component3D

  • Instantiates:: QLevelOfDetailSwitch

Detailed Description

This component is assigned to an entity. When the entity changes distance relative to the camera, the LevelOfDetailSwitch will disable all the child entities except the one matching index currentIndex.

See Also

See also LevelOfDetail

Property Documentation

 

currentIndex : int

The index of the presently selected child entity.

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