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

BoxShape QML Type

Defines a box collision shape.

This type was introduced in Qt 6.4.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

BoxShape QML Type

  • Import Statement: import QtQuick3D.Physics

  • Since: Qt 6.4

  • Inherits: CollisionShape

Detailed Description

This type defines a box collision shape. The origin is at the center of the box.

A non-uniform scaling transformation will scale the x, y and z directions individually. However, combining non-uniform scale and rotation may lead to shearing, which will not be applied to the BoxShape: it will always be a rectilinear box.

See Also

Property Documentation

 

extents : vector3d

This property defines the extents of the box in the x, y and z directions.

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