mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +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,60 @@
|
|||
// <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/CharacterVirtual.h#L182">Jolt/Physics/Character/CharacterVirtual.h:182</see>
|
||||
/// <br/>
|
||||
/// <c>class CharacterVsCharacterCollisionSimple : public CharacterVsCharacterCollision</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Simple collision checker that loops over all registered characters.
|
||||
/// This is a brute force checking algorithm. If you have a lot of characters you may want to store your characters
|
||||
/// in a hierarchical structure to make this more efficient.
|
||||
/// Note that this is not thread safe, so make sure that only one CharacterVirtual is checking collision at a time.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[InteropHandle]
|
||||
public readonly partial struct CharacterVsCharacterCollisionSimple : IDisposable
|
||||
{
|
||||
public static CharacterVsCharacterCollisionSimple Create() => Jolt.PInvoke.CharacterVsCharacterCollisionSimple_Create();
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterVirtual.h#L186">Jolt/Physics/Character/CharacterVirtual.h:186</see>
|
||||
/// <br/>
|
||||
/// <c>void Add(CharacterVirtual *inCharacter)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Add a character to the list of characters to check collision against.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public void Add(CharacterVirtual character) => Jolt.PInvoke.CharacterVsCharacterCollisionSimple_Add(this, character);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Character/CharacterVirtual.h#L189">Jolt/Physics/Character/CharacterVirtual.h:189</see>
|
||||
/// <br/>
|
||||
/// <c>void Remove(const CharacterVirtual *inCharacter)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Remove a character from the list of characters to check collision against.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public void Remove(CharacterVirtual character) => Jolt.PInvoke.CharacterVsCharacterCollisionSimple_Remove(this, character);
|
||||
public static implicit operator CharacterVsCharacterCollision(CharacterVsCharacterCollisionSimple value) => Jolt.PInvoke.CharacterVsCharacterCollisionSimple_AsCharacterVsCharacterCollision(value);
|
||||
public void Dispose() => Jolt.PInvoke.CharacterVsCharacterCollisionSimple_Destroy(this);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue