mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-28 05:58:25 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
|
|
@ -0,0 +1,166 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using Brutal.Interop;
|
||||
using Brutal.Numerics;
|
||||
namespace Brutal.JoltApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterBase.h#L20">Jolt/Physics/Character/CharacterBase.h:20</see>
|
||||
/// <br/>
|
||||
/// <c>class CharacterBaseSettings : public RefTarget<CharacterBaseSettings></c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Base class for configuration of a character
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[InteropHandle]
|
||||
public readonly partial struct CharacterBaseSettings : IDisposable
|
||||
{
|
||||
/// <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>
|
||||
public static CharacterBaseSettings Create() => Jolt.PInvoke.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>
|
||||
public float3 GetUp() => Jolt.PInvoke.CharacterBaseSettings_GetUp(this);
|
||||
/// <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>
|
||||
public void SetUp(float3 value) => Jolt.PInvoke.CharacterBaseSettings_SetUp(this, 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>
|
||||
public float GetMaxSlopeAngle() => Jolt.PInvoke.CharacterBaseSettings_GetMaxSlopeAngle(this);
|
||||
/// <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>
|
||||
public void SetMaxSlopeAngle(float value) => Jolt.PInvoke.CharacterBaseSettings_SetMaxSlopeAngle(this, 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>
|
||||
public bool GetEnhancedInternalEdgeRemoval() => Jolt.PInvoke.CharacterBaseSettings_GetEnhancedInternalEdgeRemoval(this);
|
||||
/// <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>
|
||||
public void SetEnhancedInternalEdgeRemoval(bool value) => Jolt.PInvoke.CharacterBaseSettings_SetEnhancedInternalEdgeRemoval(this, 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>
|
||||
public Shape GetShape() => Jolt.PInvoke.CharacterBaseSettings_GetShape(this);
|
||||
/// <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>
|
||||
public void SetShape(Shape value) => Jolt.PInvoke.CharacterBaseSettings_SetShape(this, value);
|
||||
public void AddRef() => Jolt.PInvoke.CharacterBaseSettings_AddRef(this);
|
||||
public void Release() => Jolt.PInvoke.CharacterBaseSettings_Release(this);
|
||||
public uint GetRefCount() => Jolt.PInvoke.CharacterBaseSettings_GetRefCount(this);
|
||||
public void Dispose()
|
||||
{
|
||||
if (IsNull()) return;
|
||||
Release();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue