SpiecsEngine
 
Loading...
Searching...
No Matches

◆ SetCamera()

void Spices::CameraComponent::SetCamera ( std::shared_ptr< Camera > camera)
inline

Set the camera this component handled.

Parameters
[in]cameraThe camera shared pointer.

Definition at line 56 of file CameraComponent.h.

56{ m_Camera = camera; }
std::shared_ptr< Camera > m_Camera
The camera this component handled.

Referenced by Spices::EditorWorld::OnPreActivate().