wiki.sine.space | sinespace

Difference between revisions of "Scripting/SRay"

From wiki.sine.space
Jump to: navigation, search
(Created page with "=Attributes= {{ScriptFunction|SVector|Origin|;|The origin point of the ray.|5= local ray=Space.Camera.ScreenCoordinatesToRay(Vector.New(0.5,0.5,0))<br> Space.Log("Origin "..r...")
 
(Replaced content with "This page has moved to: https://docs.sine.space/v/scripting/client-scripting/types/sray")
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
=Attributes=
+
This page has moved to: https://docs.sine.space/v/scripting/client-scripting/types/sray
 
+
{{ScriptFunction|SVector|Origin|;|The origin point of the ray.|5=
+
local ray=Space.Camera.ScreenCoordinatesToRay(Vector.New(0.5,0.5,0))<br>
+
Space.Log("Origin "..ray.Origin.ToString())
+
}}
+
 
+
{{ScriptFunction|SVector|Direction|;|The direction of the ray.|5=
+
local ray=Space.Camera.ScreenCoordinatesToRay(Vector.New(0.5,0.5,0))<br>
+
Space.Log("Direction "..ray.Direction.ToString())
+
}}
+
 
+
{{Scripting Navbox}}
+

Latest revision as of 08:04, 19 September 2022

This page has moved to: https://docs.sine.space/v/scripting/client-scripting/types/sray