CuboidGeometry QML Type
CuboidGeometry allows creation of a cuboid in 3D space. More...
Import Statement: | import Qt3D.Extras 2.12 |
Instantiates: | QCuboidGeometry |
Properties
- indexAttribute : Attribute
- normalAttribute : Attribute
- positionAttribute : Attribute
- tangentAttribute : Attribute
- texCoordAttribute : Attribute
- xExtent : real
- xyMeshResolution : size
- xzMeshResolution : size
- yExtent : real
- yzMeshResolution : size
- zExtent : real
Detailed Description
The CuboidGeometry type is most commonly used internally by the CuboidMesh type but can also be used in custom GeometryRenderer types.
Property Documentation
indexAttribute : Attribute |
Holds the geometry index attribute.
normalAttribute : Attribute |
Holds the geometry normal attribute.
positionAttribute : Attribute |
Holds the geometry position attribute.
tangentAttribute : Attribute |
Holds the geometry tangent attribute.
texCoordAttribute : Attribute |
Holds the geometry texture coordinate attribute.
xExtent : real |
Holds the x extent of the geometry.
xyMeshResolution : size |
Holds the x-y resolution. The width and height values of this property specify the number of vertices generated for the x-y faces of the mesh.
xzMeshResolution : size |
Holds the x-z resolution. The width and height values of this property specify the number of vertices generated for the x-z faces of the mesh.
yExtent : real |
Holds the y extent of the geometry.
yzMeshResolution : size |
Holds the y-z resolution. The width and height values of this property specify the number of vertices generated for the y-z faces of the mesh.
zExtent : real |
Holds the z extent of the geometry.
© 2021 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.