Navigation
API > API/Plugins > API/Plugins/AvalancheShapes > API/Plugins/AvalancheShapes/DynamicMeshes
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- UAvaShapeDynamicMeshBase
- UAvaShape2DDynMeshBase
- UAvaShapeIrregularPolygonDynamicMesh
References
| Module | AvalancheShapes |
| Header | /Engine/Plugins/Experimental/Avalanche/Source/AvalancheShapes/Public/DynamicMeshes/AvaShapeIrregularPolygonDynMesh.h |
| Include | #include "DynamicMeshes/AvaShapeIrregularPolygonDynMesh.h" |
Syntax
UCLASS (MinimalAPI, ClassGroup="Shape", BlueprintType, CustomConstructor, Within=AvaShapeActor)
class UAvaShapeIrregularPolygonDynamicMesh : public UAvaShape2DDynMeshBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | GlobalBevelSize | ||
| uint8 | GlobalBevelSubdivisions | ||
| TArray< FAvaShapeRoundedCorner > | Points | ||
| TArray< FAvaShapeRoundedCorner > | PreEditPoints |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UAvaShapeIrregularPolygonDynamicMesh
(
const FObjectInitializer& ObjectInitializer |
|||
UAvaShapeIrregularPolygonDynamicMesh
(
const FLinearColor& InVertexColor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | |||
| void | BackupPoints () |
||
| bool | Breaks the line, adding a new point, in between InPointIdx and InPointIdx+1. | ||
| bool | CanAddPoint
(
const FVector2D& InPoint |
||
| bool | |||
| bool | |||
| bool | DoesLineIntersectBorder
(
const FVector2D CheckOrigin, |
||
| bool | DoLinesIntersect
(
const FVector2D Origin1, |
||
| float | |||
| uint8 | |||
| float | GetMaxBevelSizeForPoint
(
int32 PointIdx |
||
| int32 | GetNumPoints () |
||
| const FAvaShapeRoundedCorner & | |||
| const TArray< FAvaShapeRoundedCorner > & | GetPoints () |
||
| bool | IsLineTooCloseToAPoint
(
const FVector2D& Start, |
||
| bool | IsLocationInsideShape
(
const FVector2D& Location |
||
| bool | IsPointTooCloseToALine
(
const FVector2D& InPoint |
||
| bool | IsPointTooCloseToAnotherPoint
(
const FVector2D& InPoint, |
Checks to see if this point is too near to other points. | |
| void | OnBevelSizeChanged
(
int32 PointIdx |
||
| void | |||
| void | OnBevelSubdivisionsChanged
(
int32 PointIdx |
||
| void | |||
| void | |||
| void | |||
| void | |||
| void | OnLocationUpdated
(
int32 InPointIdx |
||
| void | |||
| void | |||
| void | |||
| bool | |||
| bool | |||
| bool | |||
| bool | RemovePoint
(
int32 PointIdx |
||
| void | |||
| FVector | ScreenToWorld
(
const FVector2D& ScreenLocation |
||
| bool | SetBevelSize
(
int32 PointIdx, |
||
| bool | SetBevelSubdivisions
(
int32 PointIdx, |
||
| void | SetGlobalBevelSize
(
float InBevelSize |
||
| void | SetGlobalBevelSubdivisions
(
uint8 InBevelSubdivisions |
||
| bool | SetLocation
(
int32 PointIdx, |
||
| void | |||
| void | SetPoints
(
const TArray< FAvaShapeRoundedCorner >& InPoints |
||
| bool | ShiftPoints
(
const FVector2D& Amount |
Overridden from UAvaShapeDynamicMeshBase
| Type | Name | Description | |
|---|---|---|---|
| bool | ClearMesh () |
Clears the mesh sections that are dirty. | |
| bool | CreateMesh
(
FAvaShapeMesh& InMesh |
Creates the mesh and updates the local snap points. | |
| const FString & | GetMeshName () |
Get the name of the shape |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally | |
| void | PreEditChange
(
FProperty* PropertyAboutToChange |
Begin UObject. |
Constants
| Name | Description |
|---|---|
| MeshName | |
| MinPointDistance |