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

Method solid_teleport

StereoKit/Native/NativeAPI.cs:333–333  ·  view source on GitHub ↗
(IntPtr solid, in Vec3 position, in Quat rotation)

Source from the content-addressed store, hash-verified

331 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void solid_set_enabled (IntPtr solid, [MarshalAs(UnmanagedType.Bool)] bool enabled);
332 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void solid_move (IntPtr solid, in Vec3 position, in Quat rotation);
333 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void solid_teleport (IntPtr solid, in Vec3 position, in Quat rotation);
334 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void solid_set_velocity (IntPtr solid, in Vec3 meters_per_second);
335 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void solid_set_velocity_ang(IntPtr solid, in Vec3 radians_per_second);
336 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void solid_get_pose (IntPtr solid, out Pose out_pose);

Callers 1

TeleportMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected