CSGBox¶
Inherits: CSGPrimitive < CSGShape < GeometryInstance < VisualInstance < CullInstance < Spatial < Node < Object
CSG框形状。
描述¶
该节点允许您创建一个与 CSG 系统一起使用的盒子。
属性¶
|
||
|
||
|
属性说明¶
float depth
Default |
|
Setter |
set_depth(value) |
Getter |
get_depth() |
框的深度从框的中心开始测量。
float height
Default |
|
Setter |
set_height(value) |
Getter |
get_height() |
盒子的高度从盒子的中心开始测量。
Material material
Setter |
set_material(value) |
Getter |
get_material() |
用于渲染盒子的材质。
float width
Default |
|
Setter |
set_width(value) |
Getter |
get_width() |
盒子的宽度从盒子的中心开始测量。