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

Method solid_add_sphere

StereoKit/Native/NativeAPI.cs:327–327  ·  view source on GitHub ↗
(IntPtr solid, float diameter,               float kilograms, in Vec3 offset)

Source from the content-addressed store, hash-verified

325 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void solid_set_id (IntPtr solid, string id);
326 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr solid_get_id (IntPtr solid);
327 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void solid_add_sphere (IntPtr solid, float diameter, float kilograms, in Vec3 offset);
328 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void solid_add_box (IntPtr solid, in Vec3 dimensions, float kilograms, in Vec3 offset);
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);

Callers 1

AddSphereMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected