Navigation
API > API/Plugins > API/Plugins/AvalancheShapes > API/Plugins/AvalancheShapes/DynamicMeshes
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- UAvaShapeDynamicMeshBase
- UAvaShape3DDynMeshBase
- UAvaShapeConeDynamicMesh
- UAvaShapeCubeDynamicMesh
- UAvaShapeSphereDynamicMesh
- UAvaShapeTorusDynamicMesh
References
| Module | AvalancheShapes |
| Header | /Engine/Plugins/Experimental/Avalanche/Source/AvalancheShapes/Public/DynamicMeshes/AvaShape3DDynMeshBase.h |
| Include | #include "DynamicMeshes/AvaShape3DDynMeshBase.h" |
Syntax
UCLASS (MinimalAPI, ClassGroup="Shape", Abstract, BlueprintType, CustomConstructor)
class UAvaShape3DDynMeshBase : public UAvaShapeDynamicMeshBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| FVector | PixelSize3D | Pixel size of the mesh, will only be available in editor | |
| FVector | PreEditSize3D | ||
| FVector | Size3D | Corresponds to the total size from 0 to mesh size |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UAvaShape3DDynMeshBase
(
const FVector& InSize, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddTriangle
(
FAvaShapeMesh& InMesh, |
Adds a triangle based on valid indexes | |
| void | AddTriangle
(
FAvaShapeMesh& InMesh, |
Adds a triangle based on valid cached vertex | |
| bool | AddVertex
(
FAvaShapeMesh& InMesh, |
Adds an already existing vertex by its index to the triangle queue. | |
| bool | AddVertex
(
FAvaShapeMesh& InMesh, |
Adds an already existing cached vertex by its index to the triangle queue. | |
| int32 | AddVertexRaw
(
FAvaShapeMesh& InMesh, |
Adds a vertex to the Mesh even if it already exists, X, Y and Z should be centered around 0. | |
| bool | CacheVertex
(
FAvaShapeMesh& InMesh, |
Adds a cache vertex that can be reused to create another triangle, does not add the vertice to the triangle by default | |
| FAvaShapeCachedVertex3D | CacheVertexCreate
(
FAvaShapeMesh& InMesh, |
Creates a cache vertex that can be reused to create another triangle, does not add the vertice to the triangle by default | |
| const FVector & | |||
| void | SetPixelSize3D
(
const FVector& InPixelSize |
Overridden from UAvaShapeDynamicMeshBase
| Type | Name | Description | |
|---|---|---|---|
| void | Gets the bounds of the shape, override this in child classes for custom bounds Origin is the center of the box, BoxExtent is half the size, pivot is the default location of the pivot for this shape | ||
| const FVector & | GetSize3D () |
||
| void | Called once the pixel size has changed, only in editor | ||
| void | Called when all the meshes have been registered and the setup is done | ||
| void | Override this in child classes | ||
| void | Override this in child classes, for 2D and 3D shape to update the scale | ||
| void | Override in child classes, represents the mesh size |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |