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::LookAtComponentRequests Class Referenceabstract

Inherits AZ::ComponentBus.

Public Member Functions

virtual AZ::EntityId GetTarget () const =0
 Get the target entity being looked at.
 
virtual void SetTarget (const AZ::EntityId &targetEntity)
 Set the target entity to look at.
 
virtual AZ::Vector3 GetTargetPosition () const =0
 Get the target position being looked at.
 
virtual void SetTargetPosition (const AZ::Vector3 &position)
 Set the target position to look at.
 
virtual AZ::Transform GetLookAtTransform () const =0
 Get the target Look At transform.
 
virtual AZ::Transform::Axis GetAxis () const =0
 Get the reference forward axis.
 
virtual void SetAxis (AZ::Transform::Axis axis=AZ::Transform::Axis::ZPositive)
 Set the reference forward axis.
 
virtual float GetStrength () const =0
 Get the strength / quickness of the look at rotation.
 
virtual void SetStrength (const float strength)
 Set the strength / quickness of the look at rotation.
 
virtual bool GetFixatePitch () const =0
 Get whether the pitch is fixated.
 
virtual void SetFixatePitch (const bool fixatePitch)
 Set whether the pitch is fixated.
 
virtual bool GetFixateRoll () const =0
 Get whether the roll is fixated.
 
virtual void SetFixateRoll (const bool fixateRoll)
 Set whether the roll is fixated.
 
virtual bool GetFixateYaw () const =0
 Get whether the yaw is fixated.
 
virtual void SetFixateYaw (const bool fixateYaw)
 Set whether the yaw is fixated.
 
virtual bool GetEnabled () const =0
 Get whether the Look At component is enabled.
 
virtual void SetEnabled (bool enabled)
 Set whether the Look At component is enabled.
 
virtual bool GetApplyLookAtTransform () const =0
 Get whether the Look At transform is applied.
 
virtual void SetApplyLookAtTransform (bool applyLookAtTransform)
 Set whether the Look At transform is applied.
 

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