Navigation
API > API/Plugins > API/Plugins/AvalancheModifiers > API/Plugins/AvalancheModifiers/Modifiers
Inheritance Hierarchy
- UObject
- UActorModifierCoreBase
- UAvaBaseModifier
- UAvaAttachmentBaseModifier
- UAvaArrangeBaseModifier
- UAvaJustifyModifier
References
| Module | AvalancheModifiers |
| Header | /Engine/Plugins/Experimental/Avalanche/Source/AvalancheModifiers/Public/Modifiers/AvaJustifyModifier.h |
| Include | #include "Modifiers/AvaJustifyModifier.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType)
class UAvaJustifyModifier : public UAvaArrangeBaseModifier
Remarks
Justify Modifier
Aligns child actors, based on their bounding box, according to the specified justification
Variables
| Type | Name | Description | |
|---|---|---|---|
| EAvaJustifyDepth | DepthAlignment | ||
| float | DepthAnchor | ||
| EAvaJustifyHorizontal | HorizontalAlignment | ||
| float | HorizontalAnchor | ||
| EAvaJustifyVertical | VerticalAlignment | ||
| float | VerticalAnchor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FVector | GetAlignmentOffset
(
const FVector& InExtent |
||
| FVector | |||
| void | GetChildrenActors
(
TSet< TWeakObjectPtr< AActor > >& OutChildren |
Get tracked actors from children actors. | |
| FVector | GetConstraintVector
(
const FVector& InBoundsCenter, |
||
| EAvaJustifyDepth | |||
| float | |||
| EAvaJustifyHorizontal | |||
| float | |||
| void | GetTrackedActors
(
const TSet< TWeakObjectPtr< AActor > >& InChildrenActors, |
||
| EAvaJustifyVertical | |||
| float | |||
| bool | |||
| bool | |||
| bool | |||
| FVector | |||
| void | SetDepthAlignment
(
EAvaJustifyDepth InDepthAlignment |
||
| void | SetDepthAnchor
(
float InDepthAnchor |
||
| void | SetHorizontalAlignment
(
EAvaJustifyHorizontal InHorizontalAlignment |
||
| void | SetHorizontalAnchor
(
float InHorizontalAnchor |
||
| void | SetVerticalAlignment
(
EAvaJustifyVertical InVerticalAlignment |
||
| void | SetVerticalAnchor
(
float InVerticalAnchor |
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 | |
| bool | You can do additional lightweights checks here in case you want to dirty the modifier instead of waiting for an event, tick must be enabled in the metadata | ||
| void | Called when modified actor transform is updated if this modifier is enabled | ||
| void | OnModifierCDOSetup
(
FActorModifierCoreMetadata& InMetadata |
Override metadata for this modifier, called only once before modifier CDO is registered | |
| void | PostEditChangeProperty
(
FPropertyChangedEvent& InPropertyChangedEvent |
Overridden from IAvaSceneTreeUpdateHandler
| Type | Name | Description | |
|---|---|---|---|
| void | OnSceneTreeTrackedActorDirectChildrenChanged
(
int32 InIdx, |
Overridden from IAvaRenderStateUpdateHandler
| Type | Name | Description | |
|---|---|---|---|
| void | OnActorVisibilityChanged
(
AActor* InActor |
Callback when a tracked actor visibility has changed | |
| void | OnRenderStateUpdated
(
AActor* InActor, |
Callback when a render state actor in this world changes |
Overridden from IAvaTransformUpdateHandler
| Type | Name | Description | |
|---|---|---|---|
| void | OnTransformUpdated
(
AActor* InActor, |
Callback when a tracked actor transform changes |