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)
{
  "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,
  "pure": false,
  "link": "https://wiki.secondlife.com/wiki/LlScaleTexture",
  "name": "ScaleTexture",
  "signatures": [
    {
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            "()"
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "Horizontal",
          "desc": "",
          "type": [
            "number"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Vertical",
          "desc": "",
          "type": [
            "number"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Face",
          "desc": "",
          "type": [
            "integer",
            "number"
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll