Navigation
API > API/Plugins > API/Plugins/AvalancheShapes > API/Plugins/AvalancheShapes/UAvaShape2DDynMeshBase
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 CacheVertex
(
FAvaShapeMesh& InMesh, |
Adds a vertex to the Mesh. | DynamicMeshes/AvaShape2DDynMeshBase.h | |
bool CacheVertex
(
FAvaShapeMesh& InMesh, |
DynamicMeshes/AvaShape2DDynMeshBase.h |
CacheVertex(FAvaShapeMesh &, const FVector2D &, bool)
Description
Adds a vertex to the Mesh. Converted from the XY to YZ plane. X and Y should be in the range 0->Width/Height, they will be changed to be centered around 0. UVs are generated. Normals point towards the negative X direction.
Vertices are checked for duplicates. This is skipped if bForceNew is true. Returns the new vertex index
| Name | CacheVertex |
| Type | function |
| Header File | /Engine/Plugins/VirtualProduction/Avalanche/Source/AvalancheShapes/Public/DynamicMeshes/AvaShape2DDynMeshBase.h |
| Include Path | #include "DynamicMeshes/AvaShape2DDynMeshBase.h" |
| Source | /Engine/Plugins/VirtualProduction/Avalanche/Source/AvalancheShapes/Private/DynamicMeshes/AvaShape2DDynMeshBase.cpp |
int32 CacheVertex
(
FAvaShapeMesh & InMesh,
const FVector2D & Location,
bool bForceNew
)
CacheVertex(FAvaShapeMesh &, const FAvaShapeCachedVertex2D &, bool)
| Name | CacheVertex |
| Type | function |
| Header File | /Engine/Plugins/VirtualProduction/Avalanche/Source/AvalancheShapes/Public/DynamicMeshes/AvaShape2DDynMeshBase.h |
| Include Path | #include "DynamicMeshes/AvaShape2DDynMeshBase.h" |
| Source | /Engine/Plugins/VirtualProduction/Avalanche/Source/AvalancheShapes/Private/DynamicMeshes/AvaShape2DDynMeshBase.cpp |
bool CacheVertex
(
FAvaShapeMesh & InMesh,
const FAvaShapeCachedVertex2D & Vertex,
bool bForceNew
)