Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

CapsuleShape

Capsule shape. More...

Import Statement: import QtQuick3DPhysics
Since: Qt 6.4
Inherits:

CollisionShape

Properties

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.

Note: 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


Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded