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

Method solid_set_id

StereoKit/Native/NativeAPI.cs:325–325  ·  view source on GitHub ↗
(IntPtr solid, string id)

Source from the content-addressed store, hash-verified

323 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr solid_create (in Vec3 position, in Quat rotation, SolidType type = SolidType.Normal);
324 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void solid_release (IntPtr solid);
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);

Callers 1

SolidClass · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected