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

83 lines
4.4 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 = "CharacterContactSettings_Create")]
public static partial CharacterContactSettings CharacterContactSettings_Create();
[LibraryImport("jolt", EntryPoint = "CharacterContactSettings_Destroy")]
public static partial void CharacterContactSettings_Destroy(CharacterContactSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterVirtual.h#L75">Jolt/Physics/Character/CharacterVirtual.h:75</see>
/// <br/>
/// <c>bool mCanPushCharacter = true</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// True when the object can push the virtual character.
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "CharacterContactSettings_GetCanPushCharacter")]
public static partial Brutal.Bool8 CharacterContactSettings_GetCanPushCharacter(CharacterContactSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterVirtual.h#L75">Jolt/Physics/Character/CharacterVirtual.h:75</see>
/// <br/>
/// <c>bool mCanPushCharacter = true</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// True when the object can push the virtual character.
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "CharacterContactSettings_SetCanPushCharacter")]
public static partial void CharacterContactSettings_SetCanPushCharacter(CharacterContactSettings self, Brutal.Bool8 value);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterVirtual.h#L80">Jolt/Physics/Character/CharacterVirtual.h:80</see>
/// <br/>
/// <c>bool mCanReceiveImpulses = true</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// True when the virtual character can apply impulses (push) the body.
/// Note that this only works against rigid bodies. Other CharacterVirtual objects can only be moved in their own update,
/// so you must ensure that in their OnCharacterContactAdded mCanPushCharacter is true.
/// </code>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "CharacterContactSettings_GetCanReceiveImpulses")]
public static partial Brutal.Bool8 CharacterContactSettings_GetCanReceiveImpulses(CharacterContactSettings self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterVirtual.h#L80">Jolt/Physics/Character/CharacterVirtual.h:80</see>
/// <br/>
/// <c>bool mCanReceiveImpulses = true</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// True when the virtual character can apply impulses (push) the body.
/// Note that this only works against rigid bodies. Other CharacterVirtual objects can only be moved in their own update,
/// so you must ensure that in their OnCharacterContactAdded mCanPushCharacter is true.
/// </code>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "CharacterContactSettings_SetCanReceiveImpulses")]
public static partial void CharacterContactSettings_SetCanReceiveImpulses(CharacterContactSettings self, Brutal.Bool8 value);
}
}
}