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

Geometry QML Type

Encapsulates geometry.

This type was introduced in Qt 5.7.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Geometry QML Type

  • Import Statement: import Qt3D.Core 2.4

  • Since:: Qt 5.7

  • Inherits:: Node

  • Instantiates:: QGeometry

Detailed Description

A Geometry type is used to group a list of Attribute objects together to form a geometric shape Qt3D is able to render using GeometryRenderer. Special attribute can be set in order to calculate bounding volume of the shape.

Property Documentation

 

attributes : list<Attribute>

Holds the list of attributes the geometry comprises of.

boundingVolumePositionAttribute : Attribute

Holds the attribute used to compute the bounding volume. The bounding volume is used internally for picking and view frustum culling.

If unspecified, the system will look for the attribute using the name returned by QAttribute::defaultPositionAttributeName.

See Also

See also Attribute

[read-only] maxExtent : vector3d

Holds the vertex with the highest x, y, z position values.

[read-only] minExtent : vector3d

Holds the vertex with the lowest x, y, z position values.

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