LlClearCameraParams
From Second Life Wiki
| LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Tutorials |
Contents |
Summary
Function: llClearCameraParams( );| 314 | Function ID |
| 0.0 | Delay |
| 10.0 | Energy |
Resets all camera parameters to default values and turns off scripted camera control.
Requires the PERMISSION_CONTROL_CAMERA permission to run.
Caveats
- Do not depend upon the auto-grant status of permissions. Always use the run_time_permissions event.
- If the script lacks the permission PERMISSION_CONTROL_CAMERA, the script will shout an error on DEBUG_CHANNEL and the operation fails (but the script continues to run).
- Once the PERMISSION_CONTROL_CAMERA permission is granted there is no way to revoke it except from inside the script (for example, with a new llRequestPermissions call). Otherwise, the script will only lose the permission if it is reset or the object is derezzed (deleted, detached, or taken).
See Also
Events
| • | run_time_permissions | – | Permission receiving event |
Functions
| • | llGetPermissions | – | Get the permissions granted | |
| • | llGetPermissionsKey | – | Get the agent who granted permissions | |
| • | llRequestPermissions | – | Request permissions | |
| • | llSetCameraParams |
Articles
| • | Script permissions |
This article wasn't helpful for you? Maybe the related article at the LSL Wiki is able to bring enlightenment.

