ll.ScaleTexture

ll.ScaleTexture (Horizontal: number, Vertical: number, Face: number) -> ()

Sets the diffuse texture Horizontal and Vertical repeats on Face of the prim the script is attached to. If Face == ALL_SIDES, all sides are set in one call. Negative values for horizontal and vertical will flip the texture.

Example

ll.ScaleTexture(3.14, 3.14, 3.14)
Raw function spec json
{
  "def": "func",
  "desc": "Sets the diffuse texture Horizontal and Vertical repeats on Face of the prim the script is attached to.\nIf Face == ALL_SIDES, all sides are set in one call.\nNegative values for horizontal and vertical will flip the texture.",
  "energy": 10,
  "sleep": 0.2,
  "must_use": false,
  "link": "https://wiki.secondlife.com/wiki/LlScaleTexture",
  "private": false,
  "takesSelf": false,
  "name": "ScaleTexture",
  "signatures": [
    {
      "def": "signature",
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            {
              "def": "simple",
              "value": "()"
            }
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "Horizontal",
          "desc": "",
          "type": [
            {
              "def": "simple",
              "value": "number"
            }
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Vertical",
          "desc": "",
          "type": [
            {
              "def": "simple",
              "value": "number"
            }
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Face",
          "desc": "",
          "type": [
            {
              "def": "simple",
              "value": "number"
            }
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll