ll.GetTexture

ll.GetTexture (Face: number) -> string

Returns a string that is the texture on face (the inventory name if it is a texture in the prim's inventory, otherwise the key). Returns the texture of a face, if it is found in object inventory, its key otherwise.

Example

ll.GetTexture(3.14)
Raw function spec json
{
  "def": "func",
  "desc": "Returns a string that is the texture on face (the inventory name if it is a texture in the prim's inventory, otherwise the key).\nReturns the texture of a face, if it is found in object inventory, its key otherwise.",
  "energy": 10,
  "sleep": 0,
  "must_use": true,
  "link": "https://wiki.secondlife.com/wiki/LlGetTexture",
  "private": false,
  "takesSelf": false,
  "name": "GetTexture",
  "signatures": [
    {
      "def": "signature",
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            {
              "def": "simple",
              "value": "string"
            }
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "Face",
          "desc": "",
          "type": [
            {
              "def": "simple",
              "value": "number"
            }
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll