MCPcopy Create free account
hub / github.com/StereoKit/StereoKit / ray_from_mouse

Method ray_from_mouse

StereoKit/Native/NativeAPI.cs:102–103  ·  view source on GitHub ↗
(Vec2 screen_pixel_pos, out Ray out_ray)

Source from the content-addressed store, hash-verified

100 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern Bounds bounds_transform (Bounds bounds, Matrix transform);
101 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern Vec3 ray_point_closest (Ray ray, Vec3 pt);
102 [return: MarshalAs(UnmanagedType.Bool)]
103 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern bool ray_from_mouse (Vec2 screen_pixel_pos, out Ray out_ray);
104
105 ///////////////////////////////////////////
106

Callers 1

MouseClass · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected