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

TorusGeometry QML Type

TorusGeometry allows creation of a torus in 3D space.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

TorusGeometry QML Type

  • Import Statement: import Qt3D.Extras 2.4

  • Instantiates:: QTorusGeometry

Detailed Description

The TorusGeometry type is most commonly used internally by the TorusMesh type but can also be used in custom GeometryRenderer types.

Property Documentation

 

[read-only] indexAttribute : Attribute

Holds the geometry index attribute.

minorRadius : real

Holds the inner radius of the torus.

[read-only] normalAttribute : Attribute

Holds the geometry normal attribute.

[read-only] positionAttribute : Attribute

Holds the geometry position attribute.

radius : real

Holds the outer radius of the torus.

rings : int

Holds the number of rings in the torus.

slices : int

Holds the number of slices in the torus.

[read-only] texCoordAttribute : Attribute

Holds the geometry texture coordinate attribute.

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