Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FStairGenerator
Description
Returns a UV vector.
The Step parameter provides the Side-relative face. This indicates which face for a given side is computing its UV.
All UVs for a given side are shared except for Front & Top. Border edges along each side are UV island edges.
Derived Overrides
- FCurvedStairGenerator::GenerateUV
- FFloatingStairGenerator::GenerateUV
- FLinearStairGenerator::GenerateUV
- FSpiralStairGenerator::GenerateUV
| Name | GenerateUV |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Generators/StairGenerator.h |
| Include Path | #include "Generators/StairGenerator.h" |
FVector2f GenerateUV
(
ESide Side,
int Step,
int VertexId,
float UVScale
)
Parameters
| Name | Remarks |
|---|---|
| Side | The side of the stairs to compute the UV. |
| Step | The Side-relative step face ID. |
| VertexId | The vertex index to compute the UV. |
| UVScale | The UV scale |