ll.GetCameraAspect

ll.GetCameraAspect () -> number

Returns the current camera aspect ratio (width / height) of the agent who has granted the scripted object PERMISSION_TRACK_CAMERA permissions. If no permissions have been granted: it returns zero.

Example

ll.GetCameraAspect()
Raw function spec json
{
  "def": "func",
  "desc": "Returns the current camera aspect ratio (width / height) of the agent who has granted the scripted object PERMISSION_TRACK_CAMERA permissions. If no permissions have been granted: it returns zero.",
  "energy": 10,
  "sleep": 0,
  "must_use": true,
  "link": "https://wiki.secondlife.com/wiki/LlGetCameraAspect",
  "private": false,
  "takesSelf": false,
  "name": "GetCameraAspect",
  "signatures": [
    {
      "def": "signature",
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            {
              "def": "simple",
              "value": "number"
            }
          ],
          "optional": false
        }
      ],
      "args": []
    }
  ]
}

< Back to ll