Open 3D Engine Atom Gem API Reference
23.05.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
Inherits AtomToolsFramework::ViewportInputBehavior.
Public Member Functions | |
IdleBehavior (ViewportInputBehaviorControllerInterface *controller) | |
![]() | |
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 | |
![]() | |
bool | HasDelta () const |
virtual float | GetSensitivityX () |
virtual float | GetSensitivityY () |
virtual float | GetSensitivityZ () |
![]() | |
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. | |
![]() | |
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 |
ViewportInputBehaviorControllerInterface * | m_controller = {} |
![]() | |
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. | |