Nesta página

SphereShape QML Type

Define uma forma de colisão esférica. Mais...

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

CollisionShape

Propriedades

Descrição detalhada

Este tipo define uma forma esférica. A origem está no centro da esfera.

Observação: Ao usar uma transformação de escala com esta forma, a componente x será usada para dimensionar o diâmetro da esfera. A forma resultante será perfeitamente redonda, mesmo que seja usada uma transformação de escala não uniforme.

Documentação das propriedades

diameter : real

Esta propriedade define o diâmetro da esfera

Valor padrão: 100

© 2026 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.