⚲
Class:
Camera
Lua
C++
Edit
Camera:UnProject
This method projects 2D screen coordinate to a point.
Syntax
Vec3
UnProject
(
Vec3
coord,
Framebuffer
framebuffer)
Parameter
Description
coord
screen coordinate, plus distance in front of camera stored in the Z component
framebuffer
framebuffer to test with
Returns
Returns a 3D position in global space.
Copyright © 2024 Ultra Software.
All rights reserved.