unreal.ActorModifierAlignBetweenModifier¶
- class unreal.ActorModifierAlignBetweenModifier(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
ActorModifierCoreBaseMoves the modifying actor to the averaged location between an array of specified actors.
C++ Source:
Plugin: ActorModifier
Module: ActorModifierLayout
File: ActorModifierAlignBetweenModifier.h
Editor Properties: (see get_editor_property/set_editor_property)
modifier_enabled(bool): [Read-Write] Is the modifier enabled or disabledreference_actors(Set[ActorModifierAlignBetweenWeightedActor]): [Read-Write] Editable set of reference actors and weights used to calculate the average location for this actor
- add_reference_actor(reference_actor) bool¶
Adds an actor to the reference list.
- Parameters:
reference_actor (ActorModifierAlignBetweenWeightedActor)
- Return type:
- find_reference_actor(actor) ActorModifierAlignBetweenWeightedActor or None¶
Finds an actor in the reference list.
- Parameters:
actor (Actor)
- Returns:
out_reference_actor (ActorModifierAlignBetweenWeightedActor):
- Return type:
- get_reference_actors() Set[ActorModifierAlignBetweenWeightedActor]¶
Gets all reference actors and their weights.
- Return type:
- set_reference_actors(reference_actors) None¶
Sets all reference actors and their weights.
- Parameters:
reference_actors (Set[ActorModifierAlignBetweenWeightedActor])