CuboidGeometry QML 类型
CuboidGeometry 允许在 3D 空间中创建长方体。 更多...
| 导入声明 | import Qt3D.Extras 2.7 | 
| 实例化 | QCuboidGeometry | 
属性
- indexAttribute : Attribute
- normalAttribute : Attribute
- positionAttribute : Attribute
- tangentAttribute : Attribute
- texCoordAttribute : Attribute
- xExtent : real
- xyMeshResolution : size
- xzMeshResolution : size
- yExtent : real
- yzMeshResolution : size
- z_extent : real
详细描述
CuboidGeometry 类型通常在内部由 CuboidMesh 类型使用,但也可以用于自定义 GeometryRenderer 类型。
属性文档
| 
indexAttribute : Attribute  | 
包含几何索引属性。
| 
normalAttribute : Attribute  | 
包含几何法线属性。
| 
positionAttribute : Attribute  | 
包含几何位置属性。
| 
tangentAttribute : Attribute  | 
包含几何切线属性。
| 
texCoordAttribute : Attribute  | 
包含几何纹理坐标属性。
| xExtent : real | 
包含几何体的 x 轴范围。
| xyMeshResolution : size | 
包含 x-y 分辨率。此属性的宽度和高度值指定了网格 x-y 面生成的顶点数。
| xzMeshResolution : size | 
包含 x-z 分辨率。此属性的宽度和高度值指定了网格 x-z 面生成的顶点数。
| yExtent : real | 
存储几何图形的y轴范围。
| yzMeshResolution : size | 
存储y-z轴的分辨率。该属性的宽度和高度值指定了为网格的y-z面生成的顶点数量。
| zExtent : real | 
存储几何图形的z轴范围。
© 2024 Qt公司有限公司。此处包含的文档贡献者的版权属于各自所有者。此处提供的文档是根据自由软件基金会发布的GNU自由文档许可协议版本1.3许可的。Qt及其相应标志是芬兰及其它全球国家的Qt公司有限公司的商标。所有其它商标归各自所有者所有。