PrimitiveMesh¶
继承¶
Mesh
简要描述¶
所有基本网格物体的基类。
描述¶
所有基本网格物体的基类。
成员¶
| 类型 | 属性名 | 默认值 |
|---|---|---|
| AABB | custom_aabb | AABB( 0, 0, 0, 0, 0, 0 ) |
| bool | flip_faces | false |
| Material | material |
方法¶
| 返回值类型 | 方法名称 |
|---|---|
| Array | get_mesh_arrays() const |
常量¶
成员说明¶
- AABB custom_aabb
| Default | AABB( 0, 0, 0, 0, 0, 0 ) |
|---|---|
| setter | set_custom_aabb(value) |
| getter | get_custom_aabb |
- bool flip_faces
| Default | false |
|---|---|
| setter | set_flip_faces(value) |
| getter | get_flip_faces |
- Material material
| setter | set_material(value) |
|---|---|
| getter | get_material |
方法说明¶
- get_mesh_arrays get_mesh_arrays() const
返回用于构成Mesh曲面的网格阵列。