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