ll.SetLinkColor

ll.SetLinkColor (LinkNumber: number, Color: vector, Face: number) -> ()

If a task exists in the link chain at LinkNumber, set the Face to color. Sets the color of the linked child's side, specified by LinkNumber.

Example

ll.SetLinkColor(3.14, vector(1,1,1), 3.14)
Raw function spec json
{
  "def": "func",
  "desc": "If a task exists in the link chain at LinkNumber, set the Face to color.\nSets the color of the linked child's side, specified by LinkNumber.",
  "energy": 10,
  "sleep": 0,
  "must_use": false,
  "link": "https://wiki.secondlife.com/wiki/LlSetLinkColor",
  "private": false,
  "takesSelf": false,
  "name": "SetLinkColor",
  "signatures": [
    {
      "def": "signature",
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            {
              "def": "simple",
              "value": "()"
            }
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "LinkNumber",
          "desc": "Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag.",
          "type": [
            {
              "def": "simple",
              "value": "number"
            }
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Color",
          "desc": "Color in RGB <R.R, G.G, B.B>",
          "type": [
            {
              "def": "simple",
              "value": "vector"
            }
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Face",
          "desc": "Side number or ALL_SIDES.",
          "type": [
            {
              "def": "simple",
              "value": "number"
            }
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll