BoxShape QML Type
Definisce una forma di collisione a scatola. Maggiori informazioni...
| Import Statement: | import QtQuick3D.Physics |
| Since: | Qt 6.4 |
| Inherits: |
Proprietà
- extents : vector3d
Descrizione dettagliata
Questo tipo definisce una forma di collisione a scatola. L'origine si trova al centro della scatola.
Nota: una trasformazione di ridimensionamento non uniforme ridimensionerà le direzioni x, y e z singolarmente. Tuttavia, la combinazione di ridimensionamento non uniforme e rotazione può causare uno spostamento trasversale, che non verrà applicato alla BoxShape: questa rimarrà sempre un parallelepipedo rettilineo.
Vedi anche Forme, corpi e giunti diQt Quick 3D Physics .
Documentazione delle proprietà
extents : vector3d
Questa proprietà definisce le dimensioni del riquadro nelle direzioni x, y e z.
Valore predefinito: (100, 100, 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.