space_ex v0.1.1 SpaceEx.SpaceCenter.Camera
Controls the game's camera.
Obtained by calling SpaceEx.SpaceCenter.get_camera/1
.
Link to this section Summary
Functions
Default distance from the camera to the subject, in meters
The distance from the camera to the subject, in meters
In map mode, the celestial body that the camera is focussed on
In map mode, the maneuver node that the camera is focussed on
In map mode, the vessel that the camera is focussed on
The heading of the camera, in degrees
Maximum distance from the camera to the subject, in meters
The maximum pitch of the camera
Minimum distance from the camera to the subject, in meters
The minimum pitch of the camera
The current mode of the camera
The pitch of the camera, in degrees
The distance from the camera to the subject, in meters
In map mode, the celestial body that the camera is focussed on
In map mode, the maneuver node that the camera is focussed on
In map mode, the vessel that the camera is focussed on
The heading of the camera, in degrees
The current mode of the camera
The pitch of the camera, in degrees
Link to this section Functions
Default distance from the camera to the subject, in meters.
The distance from the camera to the subject, in meters.
A value between SpaceEx.SpaceCenter.Camera.get_min_distance/2
and SpaceEx.SpaceCenter.Camera.get_max_distance/2
.
In map mode, the celestial body that the camera is focussed on.
Returns nil
if the camera is not focussed on a celestial body.
Returns an error is the camera is not in map mode.
In map mode, the maneuver node that the camera is focussed on.
Returns nil
if the camera is not focussed on a maneuver node.
Returns an error is the camera is not in map mode.
In map mode, the vessel that the camera is focussed on.
Returns nil
if the camera is not focussed on a vessel.
Returns an error is the camera is not in map mode.
The heading of the camera, in degrees.
Maximum distance from the camera to the subject, in meters.
The maximum pitch of the camera.
Minimum distance from the camera to the subject, in meters.
The minimum pitch of the camera.
The current mode of the camera.
The pitch of the camera, in degrees.
A value between SpaceEx.SpaceCenter.Camera.get_min_pitch/2
and SpaceEx.SpaceCenter.Camera.get_max_pitch/2
The distance from the camera to the subject, in meters.
A value between SpaceEx.SpaceCenter.Camera.get_min_distance/2
and SpaceEx.SpaceCenter.Camera.get_max_distance/2
.
In map mode, the celestial body that the camera is focussed on.
Returns nil
if the camera is not focussed on a celestial body.
Returns an error is the camera is not in map mode.
In map mode, the maneuver node that the camera is focussed on.
Returns nil
if the camera is not focussed on a maneuver node.
Returns an error is the camera is not in map mode.
In map mode, the vessel that the camera is focussed on.
Returns nil
if the camera is not focussed on a vessel.
Returns an error is the camera is not in map mode.
The heading of the camera, in degrees.
The current mode of the camera.
The pitch of the camera, in degrees.
A value between SpaceEx.SpaceCenter.Camera.get_min_pitch/2
and SpaceEx.SpaceCenter.Camera.get_max_pitch/2