Small camera updates (#1460, LYN-2315)
* add interpolation for goto position/orientation * resize default camera look-at point
This commit is contained in:
committed by
GitHub
parent
706cf0e9c3
commit
dc343e2b65
@@ -30,6 +30,12 @@ namespace SandboxEditor
|
||||
//! @param yaw Amount of yaw in radians.
|
||||
SANDBOX_API void SetDefaultViewportCameraRotation(float pitch, float yaw);
|
||||
|
||||
//! Set the camera to interpolate to the given position and orientation.
|
||||
//! @param position The new position of the camera.
|
||||
//! @param pitch Amount of pitch in radians.
|
||||
//! @param yaw Amount of yaw in radians.
|
||||
SANDBOX_API void InterpolateDefaultViewportCameraToTransform(const AZ::Vector3& position, float pitch, float yaw);
|
||||
|
||||
//! Get the default viewport camera transform.
|
||||
SANDBOX_API AZ::Transform GetDefaultViewportCameraTransform();
|
||||
} // namespace SandboxEditor
|
||||
|
||||
Reference in New Issue
Block a user