-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.Vector3Unproject
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Projects a Vector3 from screen space into object space NOTE: Self-contained function, no other raymath functions are called
| Parameter | Default Value | Note |
|---|---|---|
| source | [0, 0, 0] | |
| projection | MatrixIdentity | |
| view | MatrixIdentity |
| Condition | Return Value |
|---|---|
| (always) | list |
// Unproject a screen-space point into world space
source = [400, 300, 0] // screen position + depth
projection = raylib.MatrixIdentity
view = raylib.MatrixIdentity
result = raylib.Vector3Unproject(source, projection, view)
print result