DeprojectMouseLocationToWorld: Difference between revisions
From Onset Developer Wiki
Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|DeprojectMouseLocationToWorld()}} {{FuncParameters}} {{FuncNoParam}} {{FuncReturnValue|__EDIT_ME_..." |
No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Info|Function|Client|1.0}} | {{Info|Function|Client|1.0}} | ||
{{FuncDescription| | {{FuncDescription|Deproject the mouse location to the game world coordinates.}} | ||
{{FuncSyntax|DeprojectMouseLocationToWorld()}} | {{FuncSyntax|DeprojectMouseLocationToWorld()}} | ||
Line 8: | Line 8: | ||
{{FuncNoParam}} | {{FuncNoParam}} | ||
{{FuncReturnValue| | {{FuncReturnValue|On success returns 6 floats. World location X, Y, Z and world direction DirX, DirY, DirZ. On error the function returns '''false'''.}} | ||
== Example == | == Example == | ||
Line 14: | Line 14: | ||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
* [[IsMouseCursorEnabled]] | |||
* [[GetMouseLocation]] | |||
* [[GetMouseInputDelta]] |
Latest revision as of 15:29, 17 November 2019
Description
Deproject the mouse location to the game world coordinates.
Syntax
DeprojectMouseLocationToWorld()
Parameters
- This function has no parameters.
Return Value
- On success returns 6 floats. World location X, Y, Z and world direction DirX, DirY, DirZ. On error the function returns false.
Example
__EDIT_ME__