// // Generated by Brutal.Jolt.Generate; do not edit by hand. #nullable enable using Brutal.Interop; using Brutal.Numerics; namespace Brutal.JoltApi { public static partial class Jolt { public static unsafe partial class PInvoke { [LibraryImport("jolt", EntryPoint = "SoftBodyContactSettings_Create")] public static partial SoftBodyContactSettings SoftBodyContactSettings_Create(); [LibraryImport("jolt", EntryPoint = "SoftBodyContactSettings_Destroy")] public static partial void SoftBodyContactSettings_Destroy(SoftBodyContactSettings self); /// /// /// Scale factor for the inverse mass of the soft body (0 = infinite mass, 1 = use original mass, 2 = /// body has half the mass). For the same contact pair, you should strive to keep the value the same /// over time. /// /// /// C++: /// Jolt/Physics/SoftBody/SoftBodyContactListener.h:24 ///
/// float mInvMassScale1 = 1.0f ///
///
[LibraryImport("jolt", EntryPoint = "SoftBodyContactSettings_GetInvMassScale1")] public static partial float SoftBodyContactSettings_GetInvMassScale1(SoftBodyContactSettings self); /// /// /// Scale factor for the inverse mass of the soft body (0 = infinite mass, 1 = use original mass, 2 = /// body has half the mass). For the same contact pair, you should strive to keep the value the same /// over time. /// /// /// C++: /// Jolt/Physics/SoftBody/SoftBodyContactListener.h:24 ///
/// float mInvMassScale1 = 1.0f ///
///
[LibraryImport("jolt", EntryPoint = "SoftBodyContactSettings_SetInvMassScale1")] public static partial void SoftBodyContactSettings_SetInvMassScale1(SoftBodyContactSettings self, float value); /// /// /// Scale factor for the inverse mass of the other body (0 = infinite mass, 1 = use original mass, 2 = /// body has half the mass). For the same contact pair, you should strive to keep the value the same /// over time. /// /// /// C++: /// Jolt/Physics/SoftBody/SoftBodyContactListener.h:25 ///
/// float mInvMassScale2 = 1.0f ///
///
[LibraryImport("jolt", EntryPoint = "SoftBodyContactSettings_GetInvMassScale2")] public static partial float SoftBodyContactSettings_GetInvMassScale2(SoftBodyContactSettings self); /// /// /// Scale factor for the inverse mass of the other body (0 = infinite mass, 1 = use original mass, 2 = /// body has half the mass). For the same contact pair, you should strive to keep the value the same /// over time. /// /// /// C++: /// Jolt/Physics/SoftBody/SoftBodyContactListener.h:25 ///
/// float mInvMassScale2 = 1.0f ///
///
[LibraryImport("jolt", EntryPoint = "SoftBodyContactSettings_SetInvMassScale2")] public static partial void SoftBodyContactSettings_SetInvMassScale2(SoftBodyContactSettings self, float value); /// /// /// Scale factor for the inverse inertia of the other body (usually same as mInvMassScale2) /// /// /// C++: /// Jolt/Physics/SoftBody/SoftBodyContactListener.h:26 ///
/// float mInvInertiaScale2 = 1.0f ///
///
[LibraryImport("jolt", EntryPoint = "SoftBodyContactSettings_GetInvInertiaScale2")] public static partial float SoftBodyContactSettings_GetInvInertiaScale2(SoftBodyContactSettings self); /// /// /// Scale factor for the inverse inertia of the other body (usually same as mInvMassScale2) /// /// /// C++: /// Jolt/Physics/SoftBody/SoftBodyContactListener.h:26 ///
/// float mInvInertiaScale2 = 1.0f ///
///
[LibraryImport("jolt", EntryPoint = "SoftBodyContactSettings_SetInvInertiaScale2")] public static partial void SoftBodyContactSettings_SetInvInertiaScale2(SoftBodyContactSettings self, float value); /// /// /// If the contact should be treated as a sensor vs body contact (no collision response) /// /// /// C++: /// Jolt/Physics/SoftBody/SoftBodyContactListener.h:27 ///
/// bool mIsSensor ///
///
[LibraryImport("jolt", EntryPoint = "SoftBodyContactSettings_GetIsSensor")] public static partial Brutal.Bool8 SoftBodyContactSettings_GetIsSensor(SoftBodyContactSettings self); /// /// /// If the contact should be treated as a sensor vs body contact (no collision response) /// /// /// C++: /// Jolt/Physics/SoftBody/SoftBodyContactListener.h:27 ///
/// bool mIsSensor ///
///
[LibraryImport("jolt", EntryPoint = "SoftBodyContactSettings_SetIsSensor")] public static partial void SoftBodyContactSettings_SetIsSensor(SoftBodyContactSettings self, Brutal.Bool8 value); } } }