Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FStairGenerator
Description
Returns a vertex position.
The method is provided the Right or Left side and the corresponding vertex column/row index to compute. Column and row indices refer to the matrix-like ordered vertex layout. See diagram in GenerateSolidStairs() / GenerateFloatingStairs().
This generator only generates vertices for the Right & Left Sides of the stairs.
Mesh count protected variables are the only transient variables guaranteed to be valid at the time GenerateVertex is invoked.
Derived Overrides
- FCurvedStairGenerator::GenerateVertex
- FFloatingStairGenerator::GenerateVertex
- FLinearStairGenerator::GenerateVertex
- FSpiralStairGenerator::GenerateVertex
| Name | GenerateVertex |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Generators/StairGenerator.h |
| Include Path | #include "Generators/StairGenerator.h" |
FVector3d GenerateVertex
(
ESide Side,
int VertexColumn,
int VertexRow
)
Parameters
| Name | Remarks |
|---|---|
| Side | The Right or Left side of the stairs. |
| VertexColumn | The column index into the stair vertex layout. |
| VertexRow | The row index into the stair vertex layout. |