unreal.ActorModifierLookAtModifier¶
- class unreal.ActorModifierLookAtModifier(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
ActorModifierAttachmentBaseModifierRotates the modifying actor to point it’s specified axis at another actor.
C++ Source:
Plugin: ActorModifier
Module: ActorModifierLayout
File: ActorModifierLookAtModifier.h
Editor Properties: (see get_editor_property/set_editor_property)
axis(ActorModifierAlignment): [Read-Write] deprecated: Use OrientationAxis insteadflip_axis(bool): [Read-Write] If true, will flip the look-at direction.modifier_enabled(bool): [Read-Write] Is the modifier enabled or disabledorientation_axis(ActorModifierAxis): [Read-Write] The axis to orient look atreference_actor(ActorModifierSceneTreeActor): [Read-Write]reference_actor_weak(Actor): [Read-Write] The actor to look at. deprecated: Use ReferenceActor instead
- property axis: ActorModifierAlignment¶
[Read-Write] deprecated: Use OrientationAxis instead
- Type:
- get_orientation_axis() ActorModifierAxis¶
Returns the axis that will point towards the reference actor.
- Return type:
- get_reference_actor() ActorModifierSceneTreeActor¶
Get Reference Actor
- Return type:
- property reference_actor_weak: Actor¶
[Read-Write] The actor to look at. deprecated: Use ReferenceActor instead
- Type:
(Actor)
- set_flip_axis(flip_axis) None¶
Sets the look-at direction to be flipped.
- Parameters:
flip_axis (bool)
- set_orientation_axis(axis) None¶
Sets the axis that will point towards the reference actor.
- Parameters:
axis (ActorModifierAxis)
- set_reference_actor(reference_actor) None¶
Set Reference Actor
- Parameters:
reference_actor (ActorModifierSceneTreeActor)