ConeGeometry QML Type
ConeGeometry permite a criação de um cone no espaço 3D. Mais...
| Import Statement: | import Qt3D.Extras 2.12 |
| In C++: | QConeGeometry |
| Status: | Deprecated |
Esse tipo está obsoleto. Recomendamos enfaticamente que não seja usado em códigos novos.
Propriedades
- bottomRadius : real
- hasBottomEndcap : bool
- hasTopEndcap : bool
- indexAttribute : Attribute
- length : real
- normalAttribute : Attribute
- positionAttribute : Attribute
- rings : int
- slices : int
- texCoordAttribute : Attribute
- topRadius : real
Descrição detalhada
O tipo ConeGeometry é mais comumente utilizado internamente pelo tipo “ ConeMesh ”, mas também pode ser usado em tipos personalizados de “ GeometryRenderer ”. O tipo ConeGeometry permite a criação tanto de um cone quanto de um cone truncado.
Documentação das propriedades
bottomRadius : real
Representa o raio da base do cone.
hasBottomEndcap : bool
Determina se o fundo do cone está fechado ou aberto.
hasTopEndcap : bool
Determina se a parte superior do cone está fechada ou aberta.
indexAttribute : Attribute [read-only]
Contém o atributo de índice geométrico.
length : real
Indica o comprimento do cone.
normalAttribute : Attribute [read-only]
Contém o atributo “normal” da geometria.
positionAttribute : Attribute [read-only]
Contém o atributo de posição da geometria.
rings : int
Armazena o número de anéis na geometria.
slices : int
Contém o número de fatias na geometria.
texCoordAttribute : Attribute [read-only]
Contém o atributo de coordenadas de textura da geometria.
topRadius : real
Representa o raio superior do cone.
© 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.