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

Method solid_set_enabled

StereoKit/Native/NativeAPI.cs:331–331  ·  view source on GitHub ↗
(IntPtr solid, [MarshalAs(UnmanagedType.Bool)] bool enabled)

Source from the content-addressed store, hash-verified

329 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void solid_add_capsule (IntPtr solid, float diameter, float height, float kilograms, in Vec3 offset);
330 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void solid_set_type (IntPtr solid, SolidType type);
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);

Callers 1

SetEnabledMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected