TorusGeometry QML Type
TorusGeometry permite a criação de um toro no espaço 3D. Mais...
| Import Statement: | import Qt3D.Extras 2.12 |
| In C++: | QTorusGeometry |
| Status: | Deprecated |
Esse tipo está obsoleto. Recomendamos enfaticamente que você não o utilize em códigos novos.
Propriedades
- indexAttribute : Attribute
- minorRadius : real
- normalAttribute : Attribute
- positionAttribute : Attribute
- radius : real
- rings : int
- slices : int
- texCoordAttribute : Attribute
Descrição detalhada
O tipo `TorusGeometry` é mais comumente utilizado internamente pelo tipo ` TorusMesh `, 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.
minorRadius : real
Representa o raio interno do toro.
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.
radius : real
Representa o raio externo do toro.
rings : int
Armazena o número de anéis no toro.
slices : int
Armazena o número de fatias no toro.
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.