#include <EditorCameraBus.h>
Inherits AZ::ComponentBus.
|
static const AZ::EBusHandlerPolicy | HandlerPolicy = AZ::EBusHandlerPolicy::Single |
|
This bus is for requesting any camera-view-related changes or information
◆ GetCameraState()
virtual bool Camera::EditorCameraViewRequests::GetCameraState |
( |
AzFramework::CameraState & |
cameraState | ) |
|
|
pure virtual |
Gets the camera state associated with this view.
◆ IsActiveCamera()
virtual bool Camera::EditorCameraViewRequests::IsActiveCamera |
( |
| ) |
const |
|
pure virtual |
Returns true if this is the active camera.
◆ MatchViewport()
virtual void Camera::EditorCameraViewRequests::MatchViewport |
( |
| ) |
|
|
pure virtual |
Aligns this camera with the active view in the scene and sets it as the active camera
◆ ToggleCameraAsActiveView()
virtual void Camera::EditorCameraViewRequests::ToggleCameraAsActiveView |
( |
| ) |
|
|
pure virtual |
Sets this camera as the active view in the scene, otherwise restores the default editor camera if it was already active
The documentation for this class was generated from the following file:
- Code/Framework/AzToolsFramework/AzToolsFramework/API/EditorCameraBus.h