Difference between revisions of "LlGetCameraRot"

From Second Life Wiki
Jump to navigation Jump to search
(Undo revision 890142 by Mako Nozaki (Talk) English page was turned Japanese.)
Line 1: Line 1:
{{LSL_Function/permission/ja|PERMISSION_TRACK_CAMERA}}{{LSL_Function/ja
{{LSL_Function/permission|PERMISSION_TRACK_CAMERA}}{{LSL_Function
|func_id=304
|func_id=304
|func_sleep=0.0
|func_sleep=0.0
Line 6: Line 6:
|return_type=rotation
|return_type=rotation
|func_desc
|func_desc
|return_text=タスクに権限があるエージェントの、現在のカメラの方向
|return_text=that is the current camera orientation for the agent the task has permissions for.
|spec
|spec
|caveats=*カメラがエージェントからあまりにも離れている時は奇妙な挙動に見えます。
|caveats=*Seems to act weird when the camera gets too far from the agent.
|examples
|examples
|helpers
|helpers
|also_functions=
|also_functions=
{{LSL DefineRow||{{LSLG/ja|llGetCameraPos}}|}}
{{LSL DefineRow||{{LSLG|llGetCameraPos}}|}}
{{LSL DefineRow||{{LSLG/ja|llSetCameraParams}}|}}
{{LSL DefineRow||{{LSLG|llSetCameraParams}}|}}
{{LSL DefineRow||{{LSLG/ja|llSetCameraAtOffset}}|}}
{{LSL DefineRow||{{LSLG|llSetCameraAtOffset}}|}}
{{LSL DefineRow||{{LSLG/ja|llSetCameraEyeOffset}}|}}
{{LSL DefineRow||{{LSLG|llSetCameraEyeOffset}}|}}
|notes
|notes
|cat1=Camera
|cat1=Camera

Revision as of 06:33, 3 May 2010

Summary

Function: rotation llGetCameraRot( );

Returns a rotation that is the current camera orientation for the agent the task has permissions for.

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

Caveats

Permissions
  • Seems to act weird when the camera gets too far from the agent.
All Issues ~ Search JIRA for related Bugs

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
•  llGetCameraPos
•  llSetCameraParams
•  llSetCameraAtOffset
•  llSetCameraEyeOffset

Articles

•  Script permissions

Deep Notes

Search JIRA for related Issues

Signature

function rotation llGetCameraRot();