Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Generators
Inheritance Hierarchy
- FMeshShapeGenerator
- FStairGenerator
- FCurvedStairGenerator
- FSpiralStairGenerator
- FLinearStairGenerator
- FFloatingStairGenerator
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Generators/StairGenerator.h |
| Include | #include "Generators/StairGenerator.h" |
Syntax
class FStairGenerator : public UE::Geometry::FMeshShapeGenerator
Remarks
Base Stair mesh generator class.
Variables
| Type | Name | Description | |
|---|---|---|---|
| int | BackStartFaceId | ||
| int | BottomStartFaceId | ||
| bool | bPolygroupPerQuad | If true, each quad of box gets a separate polygroup | |
| bool | bScaleUVByAspectRatio | If true (default), UVs are scaled so that there is no stretching. | |
| TArray< int > | FaceDesc | ||
| int | FrontStartFaceId | ||
| int | LastFaceId | ||
| int | LeftSideColumnId | ||
| int | LeftStartFaceId | ||
| TArray< int > | NormalDesc | ||
| int | NumAttrs | ||
| int | NumQuads | ||
| int | NumQuadsPerSide | Mesh counts. | |
| int | NumSteps | The number of steps in this staircase. | |
| int | NumVerts | ||
| int | NumVertsPerSide | ||
| int | RightSideColumnId | Vertex column indices. | |
| int | RightStartFaceId | Face descriptor indices. | |
| EStairStyle | StairStyle | The style of the stairs | |
| float | StepHeight | The height of each step. | |
| float | StepWidth | The width of each step. | |
| int | TopStartFaceId | ||
| TArray< int > | UVDesc | ||
| TArray< TArray< int > > | VertexIds | ||
| TArray< FIndex2i > | VertexIdsToColumnRow |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| FStairGenerator |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FVector3f | GenerateNormal
(
ESide Side, |
Returns a vertex normal vector. | |
| FVector2f | GenerateUV
(
ESide Side, |
Returns a UV vector. | |
| FVector3d | GenerateVertex
(
ESide Side, |
Returns a vertex position. | |
| float | Returns the max dimension of the staircase for the purposes of computing the world UV scale. | ||
| void | ResetData () |
Reset state data on the generator |
Overridden from FMeshShapeGenerator
| Type | Name | Description | |
|---|---|---|---|
| FMeshShapeGenerator & | Generate () |
Generate the mesh |
Enums
| Type | Name | Description | |
|---|---|---|---|
| ESide | |||
| EStairStyle |