Navigation
API > API/Runtime > API/Runtime/GeometryCore
Generate an oriented Linear Stair mesh.
| Name | FLinearStairGenerator |
| Type | class |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Generators/StairGenerator.h |
| Include Path | #include "Generators/StairGenerator.h" |
Syntax
class FLinearStairGenerator : public UE::Geometry::FStairGenerator
Inheritance Hierarchy
- FMeshShapeGenerator → FStairGenerator → FLinearStairGenerator
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FLinearStairGenerator() |
Generators/StairGenerator.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FLinearStairGenerator() |
Generators/StairGenerator.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Super | FStairGenerator | Generators/StairGenerator.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| StepDepth | float | The depth of each step. | Generators/StairGenerator.h |
Functions
Public
Protected
Overridden from FStairGenerator
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FVector3f GenerateNormal
(
ESide Side, |
Returns a vertex normal vector. | Generators/StairGenerator.h | |
virtual FVector2f GenerateUV
(
ESide Side, |
Returns a UV vector. | Generators/StairGenerator.h | |
virtual FVector3d GenerateVertex
(
ESide Side, |
FLinearStairGenerator | Generators/StairGenerator.h | |
virtual float GetMaxDimension() |
Returns the max dimension of the staircase for the purposes of computing the world UV scale. | Generators/StairGenerator.h |