ProtoFlux:LocalScreenPointToDirection: Difference between revisions

From Resonite Wiki
Created a page for the Local Screen Point To Direction node.
 
m YoshBot moved page ProtoFlux:Local Screen Point To Direction to ProtoFlux:LocalScreenPointToDirection: Automated: removing spaces from ProtoFlux namespace
 
(2 intermediate revisions by 2 users not shown)
Line 12: Line 12:
|}}
|}}


The '''Local Screen Point To Direction''' node takes in a normalized screen space (<code>0</code> to <code>1</code> along the user's screen), and converts it to a direction in world space. This node just takes where you are looking and points it in the direction outward from your camera/screen.
The '''Local Screen Point To Direction''' node takes in a normalized screen space (<code>0</code> to <code>1</code> along the user's screen in the X and Y position), and converts it to a direction in world space. This node just takes where you are looking and points it in the direction outward from your camera/screen.


== Inputs ==
== Inputs ==
Line 27: Line 27:


[[Category:ProtoFlux:Transform:Conversion]]
[[Category:ProtoFlux:Transform:Conversion]]
[[Category:ContinuouslyChanging nodes]]

Latest revision as of 00:26, 21 August 2025

Local Screen Point To Direction
NormalizedScreenPoint
*
Conversion

The Local Screen Point To Direction node takes in a normalized screen space (0 to 1 along the user's screen in the X and Y position), and converts it to a direction in world space. This node just takes where you are looking and points it in the direction outward from your camera/screen.

Inputs

NormalizedScreenPoint (float2)

The screen point from the user's perspective.

Outputs

* (float3)

Returns the direction from this point.