ConeGeometry QML Type
ConeGeometry allows creation of a cone in 3D space. More...
Import Statement: | import Qt3D.Extras 2.14 |
Instantiates: | QConeGeometry |
Properties
- bottomRadius : real
- hasBottomEndcap : bool
- hasTopEndcap : bool
- indexAttribute : Attribute
- length : real
- normalAttribute : Attribute
- positionAttribute : Attribute
- rings : int
- slices : int
- texCoordAttribute : Attribute
- topRadius : real
Detailed Description
The ConeGeometry type is most commonly used internally by the ConeMesh type but can also be used in custom GeometryRenderer types. The ConeGeometry type allows for creation of both a cone and a truncated cone.
Property Documentation
bottomRadius : real |
Holds the bottom radius of the cone.
hasBottomEndcap : bool |
Determines if the cone bottom is capped or open.
hasTopEndcap : bool |
Determines if the cone top is capped or open.
indexAttribute : Attribute |
Holds the geometry index attribute.
length : real |
Holds the length of the cone.
normalAttribute : Attribute |
Holds the geometry normal attribute.
positionAttribute : Attribute |
Holds the geometry position attribute.
rings : int |
Holds the number of rings in the geometry.
slices : int |
Holds the number of slices in the geometry.
texCoordAttribute : Attribute |
Holds the geometry texture coordinate attribute.
topRadius : real |
Holds the top radius of the cone.
© 2020 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.