ProtoFlux:Normalized Mouse Position: Difference between revisions

From Resonite Wiki
Created a page for the Normalized Mouse Position.
 
Fixed grammer.
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
|}}
|}}


The <code>Normalized Mouse Position</code> node returns the local [[User|user's]] normalized mouse position from their [[Resonite]] application (0 to 1 on both the x and y axis). The normalized mouse position calculation starts at the top-left of the Resonite window. If you are focused on the Resonite window, the mouse will always be centered in that window while you move the mouse around, giving a consistent result from this node (in this case is usually around 0.5 for both the x and y axis). When the resonite application is not focused, this node will not calculate the position at all (returning "[0; 1]"). Multiple monitors will not effect this node.
The <code>Normalized Mouse Position</code> node returns the local [[User|user's]] normalized mouse position from their [[Resonite]] application (0 to 1 on both the x and y axis). The normalized mouse position calculation starts at the top-left of the Resonite window. If you are focused on the Resonite window, the mouse will always be centered in that window while you move the mouse around, giving a consistent result from this node (in this case, it is usually around 0.5 for both the x and y axis). When the Resonite application is not focused, this node will not calculate the position at all (returning "[0; 1]"). Multiple monitors will not effect this node.


== Outputs ==
== Outputs ==
Line 14: Line 14:
=== * ([[Type:float2|float2]]) ===
=== * ([[Type:float2|float2]]) ===


The normalized position of the mouse on the Resonite applicaiton currently.
The normalized position of the mouse on the Resonite application currently.


[[Category:ProtoFlux:Devices:Mouse]]
[[Category:ProtoFlux:Devices:Mouse]]

Latest revision as of 18:54, 17 April 2024

Normalized Mouse Position
*
Mouse

The Normalized Mouse Position node returns the local user's normalized mouse position from their Resonite application (0 to 1 on both the x and y axis). The normalized mouse position calculation starts at the top-left of the Resonite window. If you are focused on the Resonite window, the mouse will always be centered in that window while you move the mouse around, giving a consistent result from this node (in this case, it is usually around 0.5 for both the x and y axis). When the Resonite application is not focused, this node will not calculate the position at all (returning "[0; 1]"). Multiple monitors will not effect this node.

Outputs

* (float2)

The normalized position of the mouse on the Resonite application currently.