mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 21:18:24 +01:00
162 lines
8.5 KiB
C#
162 lines
8.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
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterBase.h#L26">Jolt/Physics/Character/CharacterBase.h:26</see>
|
|
/// <br/>
|
|
/// <c>CharacterBaseSettings() = default</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Constructor
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterBaseSettings_Create")]
|
|
public static partial CharacterBaseSettings CharacterBaseSettings_Create();
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterBase.h#L34">Jolt/Physics/Character/CharacterBase.h:34</see>
|
|
/// <br/>
|
|
/// <c>Vec3 mUp = Vec3::sAxisY()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Vector indicating the up direction of the character
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterBaseSettings_GetUp")]
|
|
public static partial float3 CharacterBaseSettings_GetUp(CharacterBaseSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterBase.h#L34">Jolt/Physics/Character/CharacterBase.h:34</see>
|
|
/// <br/>
|
|
/// <c>Vec3 mUp = Vec3::sAxisY()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Vector indicating the up direction of the character
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterBaseSettings_SetUp")]
|
|
public static partial void CharacterBaseSettings_SetUp(CharacterBaseSettings self, float3 value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterBase.h#L42">Jolt/Physics/Character/CharacterBase.h:42</see>
|
|
/// <br/>
|
|
/// <c>float mMaxSlopeAngle = DegreesToRadians(50.0f)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Maximum angle of slope that character can still walk on (radians).
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterBaseSettings_GetMaxSlopeAngle")]
|
|
public static partial float CharacterBaseSettings_GetMaxSlopeAngle(CharacterBaseSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterBase.h#L42">Jolt/Physics/Character/CharacterBase.h:42</see>
|
|
/// <br/>
|
|
/// <c>float mMaxSlopeAngle = DegreesToRadians(50.0f)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Maximum angle of slope that character can still walk on (radians).
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterBaseSettings_SetMaxSlopeAngle")]
|
|
public static partial void CharacterBaseSettings_SetMaxSlopeAngle(CharacterBaseSettings self, float value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterBase.h#L45">Jolt/Physics/Character/CharacterBase.h:45</see>
|
|
/// <br/>
|
|
/// <c>bool mEnhancedInternalEdgeRemoval = false</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Set to indicate that extra effort should be made to try to remove ghost contacts (collisions with
|
|
/// internal edges of a mesh). This is more expensive but makes bodies move smoother over a mesh with
|
|
/// convex edges.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterBaseSettings_GetEnhancedInternalEdgeRemoval")]
|
|
public static partial Brutal.Bool8 CharacterBaseSettings_GetEnhancedInternalEdgeRemoval(CharacterBaseSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterBase.h#L45">Jolt/Physics/Character/CharacterBase.h:45</see>
|
|
/// <br/>
|
|
/// <c>bool mEnhancedInternalEdgeRemoval = false</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Set to indicate that extra effort should be made to try to remove ghost contacts (collisions with
|
|
/// internal edges of a mesh). This is more expensive but makes bodies move smoother over a mesh with
|
|
/// convex edges.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterBaseSettings_SetEnhancedInternalEdgeRemoval")]
|
|
public static partial void CharacterBaseSettings_SetEnhancedInternalEdgeRemoval(CharacterBaseSettings self, Brutal.Bool8 value);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterBase.h#L49">Jolt/Physics/Character/CharacterBase.h:49</see>
|
|
/// <br/>
|
|
/// <c>RefConst<Shape> mShape</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Initial shape that represents the character's volume.
|
|
/// Usually this is a capsule, make sure the shape is made so that the bottom of the shape is at (0, 0, 0).
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterBaseSettings_GetShape")]
|
|
public static partial Shape CharacterBaseSettings_GetShape(CharacterBaseSettings self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterBase.h#L49">Jolt/Physics/Character/CharacterBase.h:49</see>
|
|
/// <br/>
|
|
/// <c>RefConst<Shape> mShape</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Initial shape that represents the character's volume.
|
|
/// Usually this is a capsule, make sure the shape is made so that the bottom of the shape is at (0, 0, 0).
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "CharacterBaseSettings_SetShape")]
|
|
public static partial void CharacterBaseSettings_SetShape(CharacterBaseSettings self, Shape value);
|
|
[LibraryImport("jolt", EntryPoint = "CharacterBaseSettings_AddRef")]
|
|
public static partial void CharacterBaseSettings_AddRef(CharacterBaseSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "CharacterBaseSettings_Release")]
|
|
public static partial void CharacterBaseSettings_Release(CharacterBaseSettings self);
|
|
[LibraryImport("jolt", EntryPoint = "CharacterBaseSettings_GetRefCount")]
|
|
public static partial uint CharacterBaseSettings_GetRefCount(CharacterBaseSettings self);
|
|
}
|
|
}
|
|
}
|