Open 3D Engine WhiteBox Gem API Reference 26.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
WhiteBox::DrawStairInfo Struct Reference

#include <EditorWhiteBoxDefaultShapeTypes.h>

Public Attributes

int m_steps = 8
 Number of steps in step-count mode.
 
bool m_byHeight = false
 Divide by a fixed riser height instead of a fixed step count.
 
float m_stepHeight = 0.25f
 Riser height used when dividing by step height.
 
int m_rotation = 0
 Orientation in 90-degree steps (0..3) about the surface normal.
 

Detailed Description

Staircase build parameters the Draw Shape tool reads from the component. Plain data snapshot exposed through EditorWhiteBoxComponentRequestBus::GetDrawStairInfo so callers fetch the whole group in one request. Defaults match an unset/unhandled component.


The documentation for this struct was generated from the following file: