Skip to content
Version 2.32.0
↓ Get the launcher

ICameraControl interface

A held camera override. Dispose to hand the camera back (the game blends back to its own camera).

public interface ICameraControl : IDisposable
name description
Fov { get; set; } Vertical field of view in degrees.
GamePose { get; } The game camera’s pose when this control was acquired (for “reset to entry pose”).
IsActive { get; } True until disposed or released by the framework.
event Frame Raised once per rendered frame while active, before the camera is drawn; the argument is the frame’s unscaled delta time in seconds. Set the pose here. An exception releases the camera with Error.
SetPose(…) Places the camera. Roll is clamped to ±90°. The position is clamped to 60 m from the local player.