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

CapsuleShape QML Type

Capsule shape.

This type was introduced in Qt 6.4.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

CapsuleShape QML Type

  • Import Statement: import QtQuick3DPhysics

  • Since: Qt 6.4

  • Inherits: CollisionShape

Detailed Description

This is the capsule shape. It is centered at the origin. It is specified by a diameter and a height value by which its axis extends along the positive and negative X-axis.

When using a scale with this shape, the x component will be used to scale the height and the y component will be used to scale the diameter.

Property Documentation

 

diameter : float

This property defines the diameter of the capsule

height : float

This property defines the height of the capsule

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