CylinderGeometry QML Type
CylinderGeometry permite a criação de um cilindro no espaço 3D. Mais...
| Import Statement: | import Qt3D.Extras 2.12 |
| In C++: | QCylinderGeometry |
| Status: | Deprecated |
Esse tipo está obsoleto. Recomendamos enfaticamente que não seja utilizado em código novo.
Propriedades
- indexAttribute : Attribute
- length : real
- normalAttribute : Attribute
- positionAttribute : Attribute
- radius : real
- rings : int
- slices : int
- texCoordAttribute : Attribute
Descrição detalhada
O tipo `CylinderGeometry` é mais comumente utilizado internamente pelo tipo ` CylinderMesh `, mas também pode ser usado em tipos personalizados de ` GeometryRenderer `.
Documentação das propriedades
indexAttribute : Attribute [read-only]
Contém o atributo de índice geométrico.
length : real
Indica o comprimento do cilindro.
normalAttribute : Attribute [read-only]
Contém o atributo “normal” da geometria.
positionAttribute : Attribute [read-only]
Contém o atributo de posição da geometria.
radius : real
Armazena o raio do cilindro.
rings : int
Armazena o número de anéis no cilindro.
slices : int
Armazena o número de fatias no cilindro.
texCoordAttribute : Attribute [read-only]
Contém o atributo de coordenadas de textura 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.