ll.DetectedTouchUV

ll.DetectedTouchUV(Index: number) : vector

Returns a vector that is the texture coordinates for where the prim was touched. The X and Y vector positions contain the U and V face coordinates respectively. TOUCH_INVALID_TEXCOORD is returned if the touch UV coordinates cannot be determined (e.g. when the viewer does not support this function).

Example

ll.DetectedTouchUV(0)
{
  "def": "func",
  "desc": "Returns a vector that is the texture coordinates for where the prim was touched.\nThe X and Y vector positions contain the U and V face coordinates respectively.\nTOUCH_INVALID_TEXCOORD is returned if the touch UV coordinates cannot be determined (e.g. when the viewer does not support this function).",
  "energy": 10,
  "sleep": 0,
  "pure": true,
  "link": "https://wiki.secondlife.com/wiki/LlDetectedTouchUV",
  "name": "DetectedTouchUV",
  "signatures": [
    {
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            "vector"
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "Index",
          "desc": "Index of detection information",
          "type": [
            "integer",
            "number"
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll