Laser Commands
Last updated: 2026/1/7 22:37:2 | ||
Path To | Name | Description/Function |
/api/laser | /invert/{value} | Invert laser controls. |
/api/laser | /isattached | Gets a value indicating whether the camera has lasers. |
/api/laser | /isinverted | Gets a value indicating whether the cameras lasers are inverted. |
/api/laser | /ison | Gets a value indicating whether the cameras lasers are on. |
/api/laser | /off | Turn the lasers off. |
/api/laser | /on | Turn the lasers on. |
/invert/{value}
Description | Invert laser controls. |
Method | Get |
Example |
CODE
|
Parameter(s): | ֍ Value: Values between true or false |
Response | None |
/isattached
Description | Gets a value indicating whether the camera has lasers. |
Method | Get |
Example |
CODE
|
Response | True if the Rayfin has lasers. |
Response Type | Boolean |
Response Example |
CODE
|
/isinverted
Description | Gets a value indicating whether the cameras lasers are inverted. |
Method | Get |
Example |
CODE
|
Response | True if the Rayfin lasers are inverted. |
Response Type | Boolean |
Response Example |
CODE
|
/ison
Description | Gets a value indicating whether the cameras lasers are on. |
Method | Get |
Example |
CODE
|
Response | True if the Rayfin lasers are on. |
Response Type | Boolean |
Response Example |
CODE
|
/off
Description | Turn the lasers off. |
Method | Get |
Example |
CODE
|
Response | None |
/on
Description | Turn the lasers on. |
Method | Get |
Example |
CODE
|
Response | None |