Skip to content

Commit ed5f45f

Browse files
committed
update docs
1 parent a873363 commit ed5f45f

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
kOS Stock Camera Addon Changelog
22
********************************
33

4+
# v0.2.0 2021-01-11
5+
6+
- Update for KSP 1.8 - 1.11
7+
- Add `CAMERA:MAPCAMERA` suffix to control camera controls for mapview
8+
49
# v0.1.2 2020-09-18
510

611
- Update for KSP 1.8 - 1.10

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ the camera's behavior may conflict with this functionality.
1616
* `FLIGHTCAMERA` - Get Only - `FLIGHTCAMERA` - Returns the object which allows
1717
control of the camera in the flight scene (see below).
1818

19+
* `MAPCAMERA`* - Get Only - `MAPCAMERA` - Returns the object which allows control of the camera in mapview.
20+
1921
## FLIGHTCAMERA
2022

2123
* `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
4749
a `DONOTHING` delegate. Set it back to `DONOTHING` to stop the automatic
4850
position updates.
4951

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+
5065
# Building
5166

5267
You must have an IDE or compiler capable of building Visual Studio solutions

0 commit comments

Comments
 (0)