Stairs
class Stairs @JvmOverloads constructor(val position: Point = Point.ORIGIN, val stepCount: Int) : Shape
A staircase shape whose steps are distributed within a 1x1x1 bounding box.
Each step occupies 1/stepCount of the total depth (y-axis) and height (z-axis), while the full width (x-axis) is always 1 unit. Use translate and Shape.scale to reposition or resize the staircase.
Parameters
position
The origin corner of the staircase bounding box (default Point.ORIGIN)
stepCount
The number of steps (must be at least 1)