Cube - xkp/Doc GitHub Wiki
Overview
This class represents a cube in space
Properties
-
width: cube's width, in world units.
-
height: cube's height, in world units.
-
depth: cube's depth, in world units.
-
width_segments: int, number of subdivisions on the width side.
-
height_segments: int, number of subdivisions on the height side.
-
depth_segments: int, number of subdivisions on the width side.
-
cube_materials: undecided.
Usage
<cube id="my_cube" width="100" height="100" depth="100" material="cube material"/>