DeprojectMouseLocationToWorld: Difference between revisions

From Onset Developer Wiki
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Info|Function|Client|1.0}}
{{Info|Function|Client|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Deproject the mouse location to the game world coordinates.}}


{{FuncSyntax|DeprojectMouseLocationToWorld()}}
{{FuncSyntax|DeprojectMouseLocationToWorld()}}
Line 14: Line 14:


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
* [[IsMouseCursorEnabled]]
* [[GetMouseLocation]]
* [[GetMouseInputDelta]]

Latest revision as of 15:29, 17 November 2019

DeprojectMouseLocationToWorld

Type: Function
Context: Client
Introduced: v1.0

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__

See also