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

Inherits AtomToolsFramework::ViewportInputBehavior.

Public Member Functions

 IdleBehavior (ViewportInputBehaviorControllerInterface *controller)
 
- Public Member Functions inherited from AtomToolsFramework::ViewportInputBehavior
 ViewportInputBehavior (ViewportInputBehaviorControllerInterface *controller)
 
virtual void Start ()
 
virtual void End ()
 
virtual void MoveX (float value)
 
virtual void MoveY (float value)
 
virtual void MoveZ (float value)
 

Additional Inherited Members

- Protected Member Functions inherited from AtomToolsFramework::ViewportInputBehavior
bool HasDelta () const
 
virtual float GetSensitivityX ()
 
virtual float GetSensitivityY ()
 
virtual float GetSensitivityZ ()
 
- Static Protected Member Functions inherited from AtomToolsFramework::ViewportInputBehavior
static AZ::Quaternion LookRotation (AZ::Vector3 forward)
 Calculate rotation quaternion towards a forward vector along world up axis.
 
static float TakeStep (float &value, float t)
 Lerp a float value to 0 then decrement it by that interval and return it.
 
- Protected Attributes inherited from AtomToolsFramework::ViewportInputBehavior
float m_x = {}
 delta x movement accumulated during current frame
 
float m_y = {}
 delta y movement accumulated during current frame
 
float m_z = {}
 delta scroll wheel accumulated during current frame
 
AZ::EntityId m_cameraEntityId
 
AZ::Vector3 m_objectPosition = AZ::Vector3::CreateZero()
 
float m_objectDistance = 0.5f
 
float m_objectRadius = 1.0f
 
ViewportInputBehaviorControllerInterfacem_controller = {}
 
- Static Protected Attributes inherited from AtomToolsFramework::ViewportInputBehavior
static constexpr float LerpTime = 0.05f
 Time in seconds to approximately complete a transformation.
 
static constexpr float SnapInterval = 0.01f
 If delta transform less than this, snap instantly.
 

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