ConeGeometry QML Type
ConeGeometry permite crear un cono en el espacio 3D. Más información...
| Import Statement: | import Qt3D.Extras 2.12 |
| In C++: | QConeGeometry |
| Status: | Deprecated |
Este tipo está obsoleto. Recomendamos encarecidamente no utilizarlo en código nuevo.
Propiedades
- bottomRadius : real
- hasBottomEndcap : bool
- hasTopEndcap : bool
- indexAttribute : Attribute
- length : real
- normalAttribute : Attribute
- positionAttribute : Attribute
- rings : int
- slices : int
- texCoordAttribute : Attribute
- topRadius : real
Descripción detallada
El tipo «ConeGeometry» se utiliza principalmente a nivel interno por el tipo « ConeMesh », pero también puede emplearse en tipos personalizados de « GeometryRenderer ». El tipo «ConeGeometry» permite crear tanto un cono como un cono truncado.
Documentación de propiedades
bottomRadius : real
Contiene el radio inferior del cono.
hasBottomEndcap : bool
Determina si la base del cono está tapada o abierta.
hasTopEndcap : bool
Determina si la parte superior del cono está tapada o abierta.
indexAttribute : Attribute [read-only]
Contiene el atributo de índice geométrico.
length : real
Indica la longitud del cono.
normalAttribute : Attribute [read-only]
Contiene el atributo «normal» de la geometría.
positionAttribute : Attribute [read-only]
Almacena el atributo de posición geométrica.
rings : int
Almacena el número de anillos que tiene la geometría.
slices : int
Contiene el número de secciones de la geometría.
texCoordAttribute : Attribute [read-only]
Contiene el atributo de coordenadas de textura geométrica.
topRadius : real
Contiene el radio superior del cono.
© 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.