Difference between revisions of "LlClearCameraParams"

From Second Life Wiki
Jump to navigation Jump to search
m (typo)
m
Line 1: Line 1:
{{LSL_Function/permission|PERMISSION_CONTROL_CAMERA}}{{LSL_Function
{{multi-lang}}{{LSL_Function/permission|PERMISSION_CONTROL_CAMERA}}{{LSL_Function
|func_id=314|func_sleep=0.0|func_energy=10.0
|func_id=314|func_sleep=0.0|func_energy=10.0
|func=llClearCameraParams
|func=llClearCameraParams

Revision as of 02:26, 20 January 2008

Summary

Function: llClearCameraParams( );
0.0 Forced Delay
10.0 Energy

Resets all camera parameters to default values and turns off scripted camera control.

To run this function the script must request the PERMISSION_CONTROL_CAMERA permission with llRequestPermissions.

Caveats

Permissions
  • The PERMISSION_CONTROL_CAMERA permission is automatically revoked when the avatar stands up from or detaches the object, and any scripted camera parameters are automatically cleared.

Examples

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

Deep Notes

Signature

function void llClearCameraParams();