generate_box
Creates an extruded solid from a closed 2D polygon.
arguments
-
"name" : String
The name of the object to create.
-
"length" : Float32 (default: 1)
Length of the box in the x axis.
-
"width" : Float32 (default: 1)
Length of the box in the y axis.
-
"height" : Float32 (default: 1)
Length of the box in the z axis.
-
"physical_uvs" : Boolean (default: true)
If true generate UV coordiantes of a constant area of 1 unit, otherwise stretch the UVs to fill the faces of the box.