CuboidGeometry QML Type
CuboidGeometry permite a criação de um paralelepípedo no espaço 3D. Mais...
| Import Statement: | import Qt3D.Extras 2.12 |
| In C++: | QCuboidGeometry |
| Status: | Deprecated |
Esse tipo está obsoleto. Recomendamos enfaticamente que não seja utilizado em código novo.
Propriedades
- indexAttribute : Attribute
- normalAttribute : Attribute
- positionAttribute : Attribute
- tangentAttribute : Attribute
- texCoordAttribute : Attribute
- xExtent : real
- xyMeshResolution : size
- xzMeshResolution : size
- yExtent : real
- yzMeshResolution : size
- zExtent : real
Descrição detalhada
O tipo `CuboidGeometry` é mais comumente utilizado internamente pelo tipo ` CuboidMesh `, mas também pode ser utilizado em tipos personalizados de ` GeometryRenderer `.
Documentação das propriedades
indexAttribute : Attribute [read-only]
Contém o atributo de índice geométrico.
normalAttribute : Attribute [read-only]
Contém o atributo de normal da geometria.
positionAttribute : Attribute [read-only]
Contém o atributo de posição da geometria.
tangentAttribute : Attribute [read-only]
Contém o atributo “tangente” da geometria.
texCoordAttribute : Attribute [read-only]
Contém o atributo de coordenadas de textura da geometria.
xExtent : real
Contém a extensão x da geometria.
xyMeshResolution : size
Define a resolução x-y. Os valores de largura e altura dessa propriedade especificam o número de vértices gerados para as faces x-y da malha.
xzMeshResolution : size
Define a resolução x-z. Os valores de largura e altura dessa propriedade especificam o número de vértices gerados para as faces x-z da malha.
yExtent : real
Armazena a extensão y da geometria.
yzMeshResolution : size
Define a resolução y-z. Os valores de largura e altura desta propriedade especificam o número de vértices gerados para as faces y-z da malha.
zExtent : real
Armazena a extensão z da geometria.
© 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.