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

Inherits EditorCameraComponentBase, EditorCameraViewRequestBus::Handler, and AzFramework::EntityDebugDisplayEventBus::Handler.

Public Member Functions

 AZ_EDITOR_COMPONENT (EditorCameraComponent, EditorCameraComponentTypeId, AzToolsFramework::Components::EditorComponentBase)
 
void Activate () override
 
void Deactivate () override
 
AZ::u32 OnConfigurationChanged () override
 
void DisplayEntityViewport (const AzFramework::ViewportInfo &viewportInfo, AzFramework::DebugDisplayRequests &debugDisplay) override
 
void ToggleCameraAsActiveView () override
 EditorCameraViewRequestBus::Handler overrides ...
 
void MatchViewport () override
 
bool IsActiveCamera () const override
 
bool GetCameraState (AzFramework::CameraState &cameraState) override
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *reflection)
 

Protected Member Functions

void EditorDisplay (AzFramework::DebugDisplayRequests &displayInterface, const AZ::Transform &world)
 
AZ::Crc32 OnPossessCameraButtonClicked ()
 
AZ::Crc32 OnMatchViewportClicked ()
 
AZStd::string GetCameraViewButtonText () const
 

Protected Attributes

float m_frustumViewPercentLength = 1.f
 
AZ::Color m_frustumDrawColor = AzFramework::ViewportColors::HoverColor
 

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