Navigation
API > API/Plugins > API/Plugins/AvalancheModifiers > API/Plugins/AvalancheModifiers/Modifiers
Inheritance Hierarchy
- UObject
- UActorModifierCoreBase
- UAvaBaseModifier
- UAvaAttachmentBaseModifier
- UAvaArrangeBaseModifier
- UAvaGridArrangeModifier
References
| Module | AvalancheModifiers |
| Header | /Engine/Plugins/Experimental/Avalanche/Source/AvalancheModifiers/Public/Modifiers/AvaGridArrangeModifier.h |
| Include | #include "Modifiers/AvaGridArrangeModifier.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType)
class UAvaGridArrangeModifier : public UAvaArrangeBaseModifier
Remarks
Arranges child actors in a 2D grid format.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FIntPoint | Count | The width and height of the grid. | |
| FVector2D | Spread | The distance between each horizontal and vertical child. | |
| EAvaCorner2D | StartCorner | The 2D corner from which to start the arrangement. | |
| EAvaGridArrangeDirection | StartDirection | The direction from which to start the arrangement. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FIntPoint | GetCount () |
Returns the width and height of the grid. | |
| FVector2D | GetSpread () |
Returns the distance between each horizontal and vertical child. | |
| EAvaCorner2D | |||
| EAvaGridArrangeDirection | |||
| void | Sets the width and height of the grid. | ||
| void | Sets the distance between each horizontal and vertical child. | ||
| void | SetStartCorner
(
EAvaCorner2D InCorner |
||
| void | SetStartDirection
(
EAvaGridArrangeDirection InDirection |
Overridden from UActorModifierCoreBase
| Type | Name | Description | |
|---|---|---|---|
| void | Apply () |
Override in child classes, apply this modifier on the actual actor, call Next or Fail to complete the modifier execution | |
| void | OnModifierCDOSetup
(
FActorModifierCoreMetadata& InMetadata |
Override metadata for this modifier, called only once before modifier CDO is registered | |
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |