ll.WorldPosToHUD (world_pos: vector) -> vectorReturns the local position that would put the origin of a HUD object directly over world_pos as viewed by the current camera.
ll.WorldPosToHUD(vector(1,1,1))
{
"def": "func",
"desc": "Returns the local position that would put the origin of a HUD object directly over world_pos as viewed by the current camera.",
"energy": 10,
"sleep": 0,
"must_use": true,
"link": "https://wiki.secondlife.com/wiki/LlWorldPosToHUD",
"private": false,
"takesSelf": false,
"name": "WorldPosToHUD",
"signatures": [
{
"def": "signature",
"result": [
{
"name": "",
"def": "result",
"desc": "",
"variadic": false,
"type": [
{
"def": "simple",
"value": "vector"
}
],
"optional": false
}
],
"args": [
{
"def": "arg",
"name": "world_pos",
"desc": "The world-frame position to project into HUD space",
"type": [
{
"def": "simple",
"value": "vector"
}
],
"variadic": false,
"optional": false
}
]
}
]
}