Camera#
- class Camera#
Controls the game’s camera. Obtained by calling
SpaceCenter.Camera.- CameraMode Mode { get; set; }#
The current mode of the camera.
- Game Scenes:
Flight
- Single Pitch { get; set; }#
The pitch of the camera, in degrees. A value between
Camera.MinPitchandCamera.MaxPitch- Game Scenes:
Flight
- Single Distance { get; set; }#
The distance from the camera to the subject, in meters. A value between
Camera.MinDistanceandCamera.MaxDistance.- Game Scenes:
Flight
- Single MinDistance { get; }#
Minimum distance from the camera to the subject, in meters.
- Game Scenes:
Flight
- Single MaxDistance { get; }#
Maximum distance from the camera to the subject, in meters.
- Game Scenes:
Flight
- Single DefaultDistance { get; }#
Default distance from the camera to the subject, in meters.
- Game Scenes:
Flight
- CelestialBody FocussedBody { get; set; }#
In map mode, the celestial body that the camera is focussed on. Returns
nullif the camera is not focussed on a celestial body. Returns an error is the camera is not in map mode.- Game Scenes:
Flight
- enum CameraMode#
See
Camera.Mode.- Automatic#
The camera is showing the active vessel, in “auto” mode.
- Free#
The camera is showing the active vessel, in “free” mode.
- Chase#
The camera is showing the active vessel, in “chase” mode.
- Locked#
The camera is showing the active vessel, in “locked” mode.
- Orbital#
The camera is showing the active vessel, in “orbital” mode.
- IVA#
The Intra-Vehicular Activity view is being shown.
- Map#
The map view is being shown.