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

CuboidGeometry QML Type

CuboidGeometry allows creation of a cuboid in 3D space.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

CuboidGeometry QML Type

Detailed Description

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

Property Documentation

 

[read-only] indexAttribute : Attribute

Holds the geometry index attribute.

[read-only] normalAttribute : Attribute

Holds the geometry normal attribute.

[read-only] positionAttribute : Attribute

Holds the geometry position attribute.

[read-only] tangentAttribute : Attribute

Holds the geometry tangent attribute.

[read-only] texCoordAttribute : Attribute

Holds the geometry texture coordinate attribute.

xExtent : real

Holds the x extent of the geometry.

xyMeshResolution : size

Holds the x-y resolution. The width and height values of this property specify the number of vertices generated for the x-y faces of the mesh.

xzMeshResolution : size

Holds the x-z resolution. The width and height values of this property specify the number of vertices generated for the x-z faces of the mesh.

yExtent : real

Holds the y extent of the geometry.

yzMeshResolution : size

Holds the y-z resolution. The width and height values of this property specify the number of vertices generated for the y-z faces of the mesh.

zExtent : real

Holds the z extent of the geometry.

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