Navigation
API > API/Plugins > API/Plugins/AvalancheModifiers > API/Plugins/AvalancheModifiers/Modifiers
Inheritance Hierarchy
- UObject
- UActorModifierCoreBase
- UAvaBaseModifier
- UAvaAttachmentBaseModifier
- UAvaArrangeBaseModifier
- UAvaRadialArrangeModifier
References
| Module | AvalancheModifiers |
| Header | /Engine/Plugins/Experimental/Avalanche/Source/AvalancheModifiers/Public/Modifiers/AvaRadialArrangeModifier.h |
| Include | #include "Modifiers/AvaRadialArrangeModifier.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType)
class UAvaRadialArrangeModifier : public UAvaArrangeBaseModifier
Remarks
Arranges child actors in a circular rings around its center
Variables
| Type | Name | Description | |
|---|---|---|---|
| EAvaRadialArrangement | Arrangement | Defines how to arrange the child elements around the center. | |
| FRotator | BaseOrientation | Base rotation added on top of the orientation rotation computed | |
| bool | bFlipOrient | If true, will flip the orientation axis to the opposite direction. | |
| bool | bOrient | If true, will orient the selected axis torwards the center. | |
| bool | bStartFromOuterRadius | If true, will arrange the child elements starting from the outer radius and moving to the inner radius. | |
| int32 | Count | The number of child elements to limit in the arrangement, or -1 if unlimited. | |
| float | EndAngle | The end angle for the arrangement space. 0 = Up, -90 = Left, 90 = Right | |
| float | InnerRadius | The radius from the center to the first inner ring. | |
| EAvaModifiersAxis | OrientationAxis | The axis to look at the center. | |
| EAvaAxis | OrientAxis | ||
| float | OuterRadius | The radius from the center to the last outer ring. | |
| int32 | Rings | The number of rings. | |
| float | StartAngle | The start angle for the arrangement space and moving clockwise. 0 = Up, -90 = Left, 90 = Right |
Functions
| Type | Name | Description | |
|---|---|---|---|
| EAvaRadialArrangement | Defines how to arrange the child elements around the center. | ||
| const FRotator & | Gets the base rotation | ||
| int32 | GetCount () |
Gets the number of child elements to use in the arrangement. | |
| float | GetEndAngle () |
Gets the end angle for the arrangement space. 0 = Up, -90 = Left, 90 = Right | |
| bool | If true, will flip the center orientation to face outwards. | ||
| float | Gets the radius from the center to the first inner ring. | ||
| bool | GetOrient () |
If true, will orient the selected axis torwards the center. | |
| EAvaModifiersAxis | Gets the axis to look at the center. | ||
| float | Gets the radius from the center to the last outer ring. | ||
| int32 | GetRings () |
Gets the number of rings. | |
| float | Gets the start angle for the arrangement space and moving clockwise. 0 = Up, -90 = Left, 90 = Right | ||
| bool | If true, will arrange the child elements starting from the outer radius and moving to the inner radius. | ||
| void | SetArrangement
(
const EAvaRadialArrangement InArrangement |
Defines how to arrange the child elements around the center. | |
| void | SetBaseOrientation
(
const FRotator& InRotation |
Sets the base rotation | |
| void | Sets the number of child elements to use in the arrangement. | ||
| void | SetEndAngle
(
const float InEndAngle |
Sets the end angle for the arrangement space. 0 = Up, -90 = Left, 90 = Right | |
| void | SetFlipOrient
(
const bool bInFlipOrient |
If true, will flip the center orientation to face outwards. | |
| void | SetInnerRadius
(
const float InInnerRadius |
Sets the radius from the center to the first inner ring. | |
| void | SetOrient
(
const bool bInOrient |
If true, will orient the selected axis torwards the center. | |
| void | SetOrientationAxis
(
EAvaModifiersAxis InAxis |
Sets the axis to look at the center. | |
| void | SetOuterRadius
(
const float InOuterRadius |
Sets the radius from the center to the last outer ring. | |
| void | Sets the number of rings. | ||
| void | SetStartAngle
(
const float InStartAngle |
Sets the start angle for the arrangement space and moving clockwise. 0 = Up, -90 = Left, 90 = Right | |
| void | SetStartFromOuterRadius
(
const bool bInStartFromOuterRadius |
If true, will arrange the child elements starting from the outer radius and moving to the inner radius. |
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 | Called when modified actor transform is updated if this modifier is enabled | ||
| void | OnModifierAdded
(
EActorModifierCoreEnableReason InReason |
Called after the modifier was added to a stack and initialized after creation or serialization or duplication | |
| void | OnModifierCDOSetup
(
FActorModifierCoreMetadata& InMetadata |
Override metadata for this modifier, called only once before modifier CDO is registered | |
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
||
| void | PostLoad () |