TorusGeometry QML Type
TorusGeometry permite crear un toro en el espacio 3D. Más información...
| Import Statement: | import Qt3D.Extras 2.12 |
| In C++: | QTorusGeometry |
| Status: | Deprecated |
Este tipo está obsoleto. Recomendamos encarecidamente no utilizarlo en código nuevo.
Propiedades
- indexAttribute : Attribute
- minorRadius : real
- normalAttribute : Attribute
- positionAttribute : Attribute
- radius : real
- rings : int
- slices : int
- texCoordAttribute : Attribute
Descripción detallada
El tipo `TorusGeometry` se utiliza principalmente a nivel interno por el tipo ` TorusMesh `, pero también puede emplearse en tipos personalizados de ` GeometryRenderer `.
Documentación de propiedades
indexAttribute : Attribute [read-only]
Contiene el atributo de índice geométrico.
minorRadius : real
Contiene el radio interior del toro.
normalAttribute : Attribute [read-only]
Contiene el atributo «normal» de la geometría.
positionAttribute : Attribute [read-only]
Almacena el atributo de posición geométrica.
radius : real
Contiene el radio exterior del toro.
rings : int
Almacena el número de anillos que tiene el toro.
slices : int
Almacena el número de secciones del toro.
texCoordAttribute : Attribute [read-only]
Contiene el atributo de coordenadas de textura geométrica.
© 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.