Navigation
API > API/Plugins > API/Plugins/AvalancheShapes > API/Plugins/AvalancheShapes/DynamicMeshes
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- UAvaShapeDynamicMeshBase
- UAvaShape2DDynMeshBase
- UAvaShape2DArrowDynamicMesh
References
| Module | AvalancheShapes |
| Header | /Engine/Plugins/Experimental/Avalanche/Source/AvalancheShapes/Public/DynamicMeshes/AvaShape2DArrowDynMesh.h |
| Include | #include "DynamicMeshes/AvaShape2DArrowDynMesh.h" |
Syntax
UCLASS (MinimalAPI, ClassGroup="Shape", BlueprintType, CustomConstructor, Within=AvaShapeActor)
class UAvaShape2DArrowDynamicMesh : public UAvaShape2DDynMeshBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bBothSideArrows | Whether there should be an arrow on both side, arrows will have same ratio | |
| float | RatioArrowLine | Represents the ratio for the arrow and the line, 0.6 means 60% arrow and 40% line | |
| float | RatioArrowY | Represents the ratio for the arrow end, 0 means arrow point will be at bottom, 1 means arrow point will be at top | |
| float | RatioLineHeight | Represents the ratio for the line height, 1 means 100% of the height available | |
| float | RatioLineY | Represents the ratio for the arrow end, 0 means arrow point will be at bottom, 1 means arrow point will be at top |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UAvaShape2DArrowDynamicMesh
(
const FVector2D& Size2D, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | |||
| float | |||
| float | |||
| float | |||
| bool | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | SetBothSideArrows
(
bool bBothSide |
||
| void | SetRatioArrowLine
(
float InRatio |
||
| void | SetRatioArrowY
(
float InRatio |
||
| void | SetRatioLineHeight
(
float InRatio |
||
| void | SetRatioLineY
(
float InRatio |
Overridden from UAvaShapeDynamicMeshBase
| Type | Name | Description | |
|---|---|---|---|
| bool | CreateMesh
(
FAvaShapeMesh& InMesh |
Creates the mesh and updates the local snap points. | |
| const FString & | GetMeshName () |
Get the name of the shape | |
| bool | IsMeshVisible
(
int32 MeshIndex |
Override this in child classes, called before creating mesh if visible |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |
Constants
| Name | Description |
|---|---|
| MeshName |