ll.SetLinkCamera

ll.SetLinkCamera (LinkNumber: number, EyeOffset: vector, LookOffset: vector) -> ()

Sets the camera eye offset, and the offset that camera is looking at, for avatars that sit on the linked prim.

Example

ll.SetLinkCamera(3.14, vector(1,1,1), vector(1,1,1))
Raw function spec json
{
  "def": "func",
  "desc": "Sets the camera eye offset, and the offset that camera is looking at, for avatars that sit on the linked prim.",
  "energy": 10,
  "sleep": 0,
  "must_use": false,
  "link": "https://wiki.secondlife.com/wiki/LlSetLinkCamera",
  "private": false,
  "takesSelf": false,
  "name": "SetLinkCamera",
  "signatures": [
    {
      "def": "signature",
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            {
              "def": "simple",
              "value": "()"
            }
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "LinkNumber",
          "desc": "Prim link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag",
          "type": [
            {
              "def": "simple",
              "value": "number"
            }
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "EyeOffset",
          "desc": "Offset, relative to the object's centre and expressed in local coordinates, that the camera looks from.",
          "type": [
            {
              "def": "simple",
              "value": "vector"
            }
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "LookOffset",
          "desc": "Offset, relative to the object's centre and expressed in local coordinates, that the camera looks toward.",
          "type": [
            {
              "def": "simple",
              "value": "vector"
            }
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll