LlClearCameraParams

来自人工智能助力教育知识百科
Ty讨论 | 贡献2020年4月13日 (一) 01:43的版本
跳转至: 导航搜索

Template:Needs Translation/

函数名
Function:llClearCameraParams();
参数:无
返回值:Resets all camera parameters to default values and turns off scripted camera control.
注意事项
Permissions
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).

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.
示例
相关函数
llGetPermissions - Get the permissions granted

llGetPermissionsKey - Get the agent who granted permissions llRequestPermissions - Request permissions llSetCameraParams

相关事件
run time permissions - Permissions receiving event