Navigation
API > API/Plugins > API/Plugins/AvalancheShapes > API/Plugins/AvalancheShapes/DynamicMeshes
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- UAvaShapeDynamicMeshBase
- UAvaShape2DDynMeshBase
- UAvaShapeRectangleDynamicMesh
References
| Module | AvalancheShapes |
| Header | /Engine/Plugins/Experimental/Avalanche/Source/AvalancheShapes/Public/DynamicMeshes/AvaShapeRectangleDynMesh.h |
| Include | #include "DynamicMeshes/AvaShapeRectangleDynMesh.h" |
Syntax
UCLASS (MinimalAPI, ClassGroup="Shape", BlueprintType, CustomConstructor, Within=AvaShapeActor)
class UAvaShapeRectangleDynamicMesh : public UAvaShape2DDynMeshBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| FAvaShapeRectangleCornerSettings | BottomLeft | ||
| FAvaShapeRectangleCornerSettings | BottomRight | ||
| float | GlobalBevelSize | ||
| uint8 | GlobalBevelSubdivisions | ||
| EAvaHorizontalAlignment | HorizontalAlignment | ||
| float | LeftSlant | Angle in degrees for the left slant of the rectangle | |
| float | RightSlant | Angle in degrees for the right slant of the rectangle | |
| FAvaShapeRectangleCornerSettings | TopLeft | ||
| FAvaShapeRectangleCornerSettings | TopRight | ||
| EAvaVerticalAlignment | VerticalAlignment |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UAvaShapeRectangleDynamicMesh
(
const FVector2D& Size2D, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | GenerateBaseMeshSections
(
FAvaShapeMesh& BaseMesh |
||
| const FAvaShapeRectangleCornerSettings & | |||
| float | |||
| uint8 | |||
| EAvaShapeCornerType | |||
| const FAvaShapeRectangleCornerSettings & | |||
| float | |||
| uint8 | |||
| EAvaShapeCornerType | |||
| float | |||
| uint8 | |||
| EAvaHorizontalAlignment | |||
| float | GetLeftSlant () |
||
| float | |||
| float | |||
| const FAvaShapeRectangleCornerSettings & | GetTopLeft () |
||
| float | |||
| uint8 | |||
| EAvaShapeCornerType | |||
| const FAvaShapeRectangleCornerSettings & | GetTopRight () |
||
| float | |||
| uint8 | |||
| EAvaShapeCornerType | |||
| FVector2D | |||
| FVector2D | |||
| void | GetValidSlantAngle
(
float& OutLeftSlant, |
||
| EAvaVerticalAlignment | |||
| bool | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | SetBottomLeft
(
const FAvaShapeRectangleCornerSettings& InCornerSettings |
||
| void | SetBottomLeftBevelSize
(
float InSize |
||
| void | SetBottomLeftBevelSubdivisions
(
uint8 InBevelSubdivisions |
Bevel subdivisions for bottom left corner | |
| void | SetBottomLeftCornerType
(
EAvaShapeCornerType InType |
||
| void | SetBottomRight
(
const FAvaShapeRectangleCornerSettings& InCornerSettings |
||
| void | SetBottomRightBevelSize
(
float InSize |
||
| void | SetBottomRightBevelSubdivisions
(
uint8 InBevelSubdivisions |
Bevel subdivisions for bottom right corner | |
| void | SetBottomRightCornerType
(
EAvaShapeCornerType InType |
||
| void | SetGlobalBevelSize
(
float InBevelSize |
||
| void | SetGlobalBevelSubdivisions
(
uint8 InGlobalBevelSubdivisions |
Controls all corners bevel subdivisions | |
| void | SetHorizontalAlignment
(
EAvaHorizontalAlignment InHorizontalAlignment |
||
| void | SetLeftSlant
(
float InSlant |
||
| void | SetRightSlant
(
float InSlant |
||
| void | SetTopLeft
(
const FAvaShapeRectangleCornerSettings& InCornerSettings |
||
| void | SetTopLeftBevelSize
(
float InSize |
||
| void | SetTopLeftBevelSubdivisions
(
uint8 InBevelSubdivisions |
Bevel subdivisions for top left corner | |
| void | SetTopLeftCornerType
(
EAvaShapeCornerType InType |
||
| void | SetTopRight
(
const FAvaShapeRectangleCornerSettings& InCornerSettings |
||
| void | SetTopRightBevelSize
(
float InSize |
||
| void | SetTopRightBevelSubdivisions
(
uint8 InBevelSubdivisions |
Bevel subdivisions for top right corner | |
| void | SetTopRightCornerType
(
EAvaShapeCornerType InType |
||
| void | SetVerticalAlignment
(
EAvaVerticalAlignment InVerticalAlignment |
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 | |
| void | Override this in child classes, for 2D and 3D shape to update the scale |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |
Constants
| Name | Description |
|---|---|
| CornerMinMargin | |
| MaxSlantAngle | |
| MeshName | |
| MinSlantAngle |