Difference between revisions of "LlClearCameraParams"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{LSL_Function
{{LSL_Function/permission|PERMISSION_CONTROL_CAMERA}}{{LSL_Function
|func_id=314
|func_id=314|func_sleep=0.0|func_energy=10.0
|func_sleep=0.0
|func_energy=10.0
|sort=ClearCameraParams
|func=llClearCameraParams
|func=llClearCameraParams
|func_desc=Resets all camera parameters to default values and turns off scripted camera control.
|func_desc=Resets all camera parameters to default values and turns off scripted camera control.
Line 16: Line 13:
|also_articles
|also_articles
|notes
|notes
|permission=PERMISSION_CONTROL_CAMERA
|cat1=Camera
|cat1=Camera
|cat2
|cat2

Revision as of 17:27, 20 July 2007

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

Articles

•  Script permissions

Deep Notes

Signature

function void llClearCameraParams();