You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,8 @@ the camera's behavior may conflict with this functionality.
16
16
*`FLIGHTCAMERA` - Get Only - `FLIGHTCAMERA` - Returns the object which allows
17
17
control of the camera in the flight scene (see below).
18
18
19
+
*`MAPCAMERA`* - Get Only - `MAPCAMERA` - Returns the object which allows control of the camera in mapview.
20
+
19
21
## FLIGHTCAMERA
20
22
21
23
*`MODE` - Get Or Set - `String` - Returns the currently selected camera mode.
@@ -47,6 +49,19 @@ called once per tick to update the camera position. Initially this will return
47
49
a `DONOTHING` delegate. Set it back to `DONOTHING` to stop the automatic
48
50
position updates.
49
51
52
+
## MAPCAMERA
53
+
54
+
*`SETFILTER(string, boolean)` - Sets whether objects of a given type should be visible in map mode. See `FILTERNAMES` for a list of valid names.
55
+
*`GETFILTER(string)` - returns a boolean indicating whether objects of the specified type are visible. See `FILTERNAMES` for a list of valid names.
56
+
*`COMMNETMODE` - get, set - string - Gets or sets the current commnet display mode. See `COMMNETNAMES` for a list of valid modes.
57
+
*`PITCH` or `CAMERAPITCH` - get, set - scalar - gets or sets the pitch angle of the camera, relative to the ecliptic plane.
58
+
*`HDG` or `HEADING` or `CAMERAHDG` - get, set - scalar - gets or sets the camera heading (yaw)
59
+
*`DISTANCE` or `CAMERADISTANCE` - get, set - scalar - returns the camera distance from the camera pivot, in meters. Note that mapview will enforce certain limits on this value.
60
+
*`POSITION` or `CAMERAPOSITION` - get, set - vector - gets or sets the position of the camera, in ship-raw coordinates. Note that the camera will always be facing towards the pivot point.
61
+
*`TARGET` - get, set - [vessel, body, node] - gets or sets the pivot object. May be a vessel, body, or node.
62
+
*`FILTERNAMES` - get - list - returns a list of the valid filter names for use with `SETFILTER` and `GETFILTER`
63
+
*`COMMNETNAMES` - get - list - returns a list of the valid commnet display mode names for use with `COMMNETMODE`
64
+
50
65
# Building
51
66
52
67
You must have an IDE or compiler capable of building Visual Studio solutions
0 commit comments