Navigation
API > API/Plugins > API/Plugins/AvalancheShapes
References
| Module | AvalancheShapes |
| Header | /Engine/Plugins/Experimental/Avalanche/Source/AvalancheShapes/Public/AvaShapeMesh.h |
| Include | #include "AvaShapeMesh.h" |
Syntax
USTRUCT ()
struct FAvaShapeMesh
Remarks
Represents a mesh section
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bUpdateRequired | ||
| TArray< int32 > | ColourIds | Reflects id from the dynamic mesh to quickly match with mesh ids for updates, set automatically | |
| int32 | MeshIndex | Readonly should not be changed | |
| TArray< int32 > | NewTriangleQueue | ||
| TArray< int32 > | NormalIds | Reflects id from the dynamic mesh to quickly match with mesh ids for updates, set automatically | |
| TArray< FVector > | Normals | ||
| TArray< int32 > | TriangleIds | Used to quickly clear the mesh section and avoid looping through all triangles, set automatically | |
| TArray< int32 > | Triangles | ||
| TArray< int32 > | UVIds | Reflects id from the dynamic mesh to quickly match with mesh ids for updates, set automatically | |
| TArray< FVector2D > | UVs | ||
| TArray< FLinearColor > | VertexColours | ||
| TArray< int32 > | VerticeIds | Reflects id from the dynamic mesh to quickly match with mesh ids for updates, set automatically | |
| TArray< FVector > | Vertices | Cached version to regenerate section quickly |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FAvaShapeMesh
(
int32 InMeshIndex |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddTriangle
(
int32 A, |
||
| void | Clear () |
Clear the cached data only | |
| void | ClearIds () |
Clear the mesh ids only | |
| void | EnqueueTriangleIndex
(
int32 A |
||
| int32 | GetMeshIndex () |