“LlClearCameraParams”的版本间的差异

来自人工智能助力教育知识百科
跳转至: 导航搜索
(创建页面,内容为“{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}} {{函数详情 |函数名=Function:llClearCameraParams(); |参数=无 |返回值=返回值:Rese…”)
 
Ty讨论 | 贡献
第2行: 第2行:
  
 
{{函数详情
 
{{函数详情
|函数名=Function:llClearCameraParams();
+
|函数名= Function:llClearCameraParams();
|参数=
+
|参数= 参数:无
|返回值=返回值:Resets all camera parameters to default values and turns off scripted camera control.
+
|返回值= 返回值:Resets all camera parameters to default values and turns off scripted camera control.
  
  

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