Open 3D Engine LmbrCentral Gem API Reference 26.05.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
LmbrCentral::LookAtComponent Class Reference

Inherits AZ::Component, AZ::TransformNotificationBus::MultiHandler, AZ::TickBus::Handler, AZ::EntityBus::Handler, and LookAtComponentRequestBus::Handler.

Public Member Functions

 AZ_COMPONENT (LookAtComponent, "{11CDC627-25A9-4760-A61F-576CDB189B38}")
 
void Activate () override
 
void Deactivate () override
 
void OnTransformChanged (const AZ::Transform &, const AZ::Transform &) override
 
void OnTick (float deltaTime, AZ::ScriptTimePoint time) override
 
void OnEntityActivated (const AZ::EntityId &entityId) override
 
void OnEntityDeactivated (const AZ::EntityId &entityId) override
 
AZ::EntityId GetTarget () const
 
void SetTarget (const AZ::EntityId &targetEntity) override
 
AZ::Vector3 GetTargetPosition () const override
 
void SetTargetPosition (const AZ::Vector3 &targetPosition) override
 
AZ::Transform GetLookAtTransform () const override
 
AZ::Transform::Axis GetAxis () const override
 
void SetAxis (AZ::Transform::Axis axis) override
 
float GetStrength () const override
 
void SetStrength (const float strength) override
 
bool GetFixatePitch () const override
 
void SetFixatePitch (const bool fixatePitch) override
 
bool GetFixateRoll () const override
 
void SetFixateRoll (const bool fixateRoll) override
 
bool GetFixateYaw () const override
 
void SetFixateYaw (const bool fixateYaw) override
 
bool GetEnabled () const override
 
void SetEnabled (const bool enabled) override
 
bool GetApplyLookAtTransform () const override
 
void SetApplyLookAtTransform (const bool applyLookAtTransform) override
 

Static Protected Member Functions

static void Reflect (AZ::ReflectContext *context)
 
static void GetProvidedServices (AZ::ComponentDescriptor::DependencyArrayType &provided)
 
static void GetRequiredServices (AZ::ComponentDescriptor::DependencyArrayType &required)
 
static void GetIncompatibleServices (AZ::ComponentDescriptor::DependencyArrayType &incompatible)
 

Friends

class EditorLookAtComponent
 

The documentation for this class was generated from the following file: