unreal.AvaLookAtModifier¶
- class unreal.AvaLookAtModifier(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
AvaAttachmentBaseModifierRotates the modifying actor to point it’s specified axis at another actor.
C++ Source:
Plugin: Avalanche
Module: AvalancheModifiers
File: AvaLookAtModifier.h
Editor Properties: (see get_editor_property/set_editor_property)
axis(AvaAxis): [Read-Write] The axis that will point towards the reference actor.flip_axis(bool): [Read-Write] If true, will flip the look-at direction.modifier_enabled(bool): [Read-Write] Is the modifier enabled or disabledreference_actor(AvaSceneTreeActor): [Read-Write]reference_actor_weak(Actor): [Read-Write] The actor to look at. deprecated: Use ReferenceActor instead
- property axis: AvaAxis¶
[Read-Write] The axis that will point towards the reference actor.
- Type:
(AvaAxis)
- get_reference_actor() AvaSceneTreeActor¶
Get Reference Actor
- Return type:
- property reference_actor: AvaSceneTreeActor¶
[Read-Write]
- Type:
- property reference_actor_weak: Actor¶
[Read-Write] The actor to look at. deprecated: Use ReferenceActor instead
- Type:
(Actor)
- set_axis(new_axis) None¶
Sets the axis that will point towards the reference actor.
- Parameters:
new_axis (AvaAxis) –
- set_flip_axis(new_flip_axis) None¶
Sets the look-at direction to be flipped.
- Parameters:
new_flip_axis (bool) –
- set_reference_actor(reference_actor) None¶
Set Reference Actor
- Parameters:
reference_actor (AvaSceneTreeActor) –