CSGBox

Inherits: CSGPrimitive < CSGShape < GeometryInstance < VisualInstance < CullInstance < Spatial < Node < Object

CSG框形状。

描述

该节点允许您创建一个与 CSG 系统一起使用的盒子。

属性

float

depth

2.0

float

height

2.0

Material

material

float

width

2.0

属性说明

Default

2.0

Setter

set_depth(value)

Getter

get_depth()

框的深度从框的中心开始测量。


Default

2.0

Setter

set_height(value)

Getter

get_height()

盒子的高度从盒子的中心开始测量。


Setter

set_material(value)

Getter

get_material()

用于渲染盒子的材质。


Default

2.0

Setter

set_width(value)

Getter

get_width()

盒子的宽度从盒子的中心开始测量。