ll.EdgeOfWorld

ll.EdgeOfWorld(Position: vector, Direction: vector) : number

Checks to see whether the border hit by Direction from Position is the edge of the world (has no neighboring region). Returns TRUE if the line along Direction from Position hits the edge of the world in the current simulator, returns FALSE if that edge crosses into another simulator.

Example

ll.EdgeOfWorld(vector(1,1,1), vector(1,1,1))
{
  "def": "func",
  "desc": "Checks to see whether the border hit by Direction from Position is the edge of the world (has no neighboring region).\nReturns TRUE if the line along Direction from Position hits the edge of the world in the current simulator, returns FALSE if that edge crosses into another simulator.",
  "energy": 10,
  "sleep": 0,
  "pure": true,
  "link": "https://wiki.secondlife.com/wiki/LlEdgeOfWorld",
  "name": "EdgeOfWorld",
  "signatures": [
    {
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            "number"
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "Position",
          "desc": "",
          "type": [
            "vector"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Direction",
          "desc": "",
          "type": [
            "vector"
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll