CameraComponent handles the camera logic for an Actor, providing world transform and update functionalities. It works with the Camera Manager.
CameraComponent(Actor* pOwner, int updateOder = 0);
Constructor of a camera component.
Matrix4DRow GetWorldTransform();
Returns the world transform matrix of the camera
void ComputeRelativeTransform();
Computes the relative transform of the camera
void UpdateCam();
This function is called in the CameraManager only if the camera component is the active camera.