brutal/brutal.jolt/Brutal.Jolt/Generated/PInvoke/SoftBodyContactSettings.gen.cs
2026-10-15 14:12:02 +13:00

131 lines
7.5 KiB
C#

// <auto-generated/>
// 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);
/// <summary>
/// <para>
/// 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.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyContactListener.h#L24">Jolt/Physics/SoftBody/SoftBodyContactListener.h:24</see>
/// <br/>
/// <c>float mInvMassScale1 = 1.0f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "SoftBodyContactSettings_GetInvMassScale1")]
public static partial float SoftBodyContactSettings_GetInvMassScale1(SoftBodyContactSettings self);
/// <summary>
/// <para>
/// 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.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyContactListener.h#L24">Jolt/Physics/SoftBody/SoftBodyContactListener.h:24</see>
/// <br/>
/// <c>float mInvMassScale1 = 1.0f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "SoftBodyContactSettings_SetInvMassScale1")]
public static partial void SoftBodyContactSettings_SetInvMassScale1(SoftBodyContactSettings self, float value);
/// <summary>
/// <para>
/// 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.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyContactListener.h#L25">Jolt/Physics/SoftBody/SoftBodyContactListener.h:25</see>
/// <br/>
/// <c>float mInvMassScale2 = 1.0f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "SoftBodyContactSettings_GetInvMassScale2")]
public static partial float SoftBodyContactSettings_GetInvMassScale2(SoftBodyContactSettings self);
/// <summary>
/// <para>
/// 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.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyContactListener.h#L25">Jolt/Physics/SoftBody/SoftBodyContactListener.h:25</see>
/// <br/>
/// <c>float mInvMassScale2 = 1.0f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "SoftBodyContactSettings_SetInvMassScale2")]
public static partial void SoftBodyContactSettings_SetInvMassScale2(SoftBodyContactSettings self, float value);
/// <summary>
/// <para>
/// Scale factor for the inverse inertia of the other body (usually same as mInvMassScale2)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyContactListener.h#L26">Jolt/Physics/SoftBody/SoftBodyContactListener.h:26</see>
/// <br/>
/// <c>float mInvInertiaScale2 = 1.0f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "SoftBodyContactSettings_GetInvInertiaScale2")]
public static partial float SoftBodyContactSettings_GetInvInertiaScale2(SoftBodyContactSettings self);
/// <summary>
/// <para>
/// Scale factor for the inverse inertia of the other body (usually same as mInvMassScale2)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyContactListener.h#L26">Jolt/Physics/SoftBody/SoftBodyContactListener.h:26</see>
/// <br/>
/// <c>float mInvInertiaScale2 = 1.0f</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "SoftBodyContactSettings_SetInvInertiaScale2")]
public static partial void SoftBodyContactSettings_SetInvInertiaScale2(SoftBodyContactSettings self, float value);
/// <summary>
/// <para>
/// If the contact should be treated as a sensor vs body contact (no collision response)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyContactListener.h#L27">Jolt/Physics/SoftBody/SoftBodyContactListener.h:27</see>
/// <br/>
/// <c>bool mIsSensor</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "SoftBodyContactSettings_GetIsSensor")]
public static partial Brutal.Bool8 SoftBodyContactSettings_GetIsSensor(SoftBodyContactSettings self);
/// <summary>
/// <para>
/// If the contact should be treated as a sensor vs body contact (no collision response)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyContactListener.h#L27">Jolt/Physics/SoftBody/SoftBodyContactListener.h:27</see>
/// <br/>
/// <c>bool mIsSensor</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "SoftBodyContactSettings_SetIsSensor")]
public static partial void SoftBodyContactSettings_SetIsSensor(SoftBodyContactSettings self, Brutal.Bool8 value);
}
}
}