BoxShape QML Type

Defines a box collision shape. More...

Import Statement: import QtQuick3D.Physics
Since: Qt 6.4
Inherits:

CollisionShape

Properties

Detailed Description

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

Note: 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 Shapes and Bodies overview documentation.

Property Documentation

extents : vector3d

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


© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.