utils.math.screen2DToWorld3D¶
utils.math.screen2DToWorld3D(x, y, fov, near, far, right, forward, up, at)
Warning
Function incomplete, doing more testing for a appropriate document.
Arguments¶
Argument | Data Type | Optional | Default Value | Explanation |
---|---|---|---|---|
x | coords | No | - | No description |
y | int | No | - | No description |
fov | int | No | - | No description |
near | int | No | - | No description |
far | int | No | - | No description |
right | coords | No | - | No description |
forward | coords | No | - | No description |
up | coords | No | - | No description |
at | coords | No | - | No description |
Dependency¶
local utils = M("utils")
Example¶