Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FLinearStairGenerator
Description
Returns a vertex normal vector.
All normals for a given side are shared except for Front & Top. Border vertex normals per side are not shared.
Virtual Inheritance
- FStairGenerator::GenerateNormal → FLinearStairGenerator::GenerateNormal
| Name | GenerateNormal |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Generators/StairGenerator.h |
| Include Path | #include "Generators/StairGenerator.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/Generators/StairGenerator.cpp |
virtual FVector3f GenerateNormal
(
ESide Side,
int VertexId
)
Parameters
| Name | Remarks |
|---|---|
| Side | The side of the stairs to compute the normal. |
| VertexId | The vertex index to compute the normal. |