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
440
brutal.jolt/Brutal.Jolt/Generated/PInvoke/BodyManager.gen.cs
Normal file
440
brutal.jolt/Brutal.Jolt/Generated/PInvoke/BodyManager.gen.cs
Normal file
|
|
@ -0,0 +1,440 @@
|
|||
// <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/Body/BodyManager.h#L55">Jolt/Physics/Body/BodyManager.h:55</see>
|
||||
/// <br/>
|
||||
/// <c>void Init(uint inMaxBodies, uint inNumBodyMutexes, const BroadPhaseLayerInterface &inLayerInterface)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Initialize the manager
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "BodyManager_Init")]
|
||||
public static partial void BodyManager_Init(BodyManager self, uint maxBodies, uint numBodyMutexes, BroadPhaseLayerInterface layerInterface);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/BodyManager.h#L58">Jolt/Physics/Body/BodyManager.h:58</see>
|
||||
/// <br/>
|
||||
/// <c>uint GetNumBodies() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Gets the current amount of bodies that are in the body manager
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "BodyManager_GetNumBodies")]
|
||||
public static partial uint BodyManager_GetNumBodies(BodyManager self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/BodyManager.h#L61">Jolt/Physics/Body/BodyManager.h:61</see>
|
||||
/// <br/>
|
||||
/// <c>uint GetMaxBodies() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Gets the max bodies that we can support
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "BodyManager_GetMaxBodies")]
|
||||
public static partial uint BodyManager_GetMaxBodies(BodyManager self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/BodyManager.h#L85">Jolt/Physics/Body/BodyManager.h:85</see>
|
||||
/// <br/>
|
||||
/// <c>Body * AllocateBody(const BodyCreationSettings &inBodyCreationSettings) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Create a body using creation settings. The returned body will not be part of the body manager yet.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// The returned handle is borrowed from its owner; don't Dispose it.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "BodyManager_AllocateBody")]
|
||||
public static partial Body BodyManager_AllocateBody(BodyManager self, BodyCreationSettings bodyCreationSettings);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/BodyManager.h#L88">Jolt/Physics/Body/BodyManager.h:88</see>
|
||||
/// <br/>
|
||||
/// <c>Body * AllocateSoftBody(const SoftBodyCreationSettings &inSoftBodyCreationSettings) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Create a soft body using creation settings. The returned body will not be part of the body manager
|
||||
/// yet.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// The returned handle is borrowed from its owner; don't Dispose it.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "BodyManager_AllocateSoftBody")]
|
||||
public static partial Body BodyManager_AllocateSoftBody(BodyManager self, SoftBodyCreationSettings softBodyCreationSettings);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/BodyManager.h#L91">Jolt/Physics/Body/BodyManager.h:91</see>
|
||||
/// <br/>
|
||||
/// <c>void FreeBody(Body *inBody) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Free a body that has not been added to the body manager yet (if it has, use DestroyBodies).
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "BodyManager_FreeBody")]
|
||||
public static partial void BodyManager_FreeBody(BodyManager self, Body body);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/BodyManager.h#L94">Jolt/Physics/Body/BodyManager.h:94</see>
|
||||
/// <br/>
|
||||
/// <c>bool AddBody(Body *ioBody)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Add a body to the body manager, assigning it the next available ID. Returns false if no more IDs are
|
||||
/// available.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "BodyManager_AddBody")]
|
||||
public static partial Brutal.Bool8 BodyManager_AddBody(BodyManager self, Body body);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/BodyManager.h#L97">Jolt/Physics/Body/BodyManager.h:97</see>
|
||||
/// <br/>
|
||||
/// <c>bool AddBodyWithCustomID(Body *ioBody, const BodyID &inBodyID)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Add a body to the body manager, assigning it a custom ID. Returns false if the ID is not valid.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "BodyManager_AddBodyWithCustomID")]
|
||||
public static partial Brutal.Bool8 BodyManager_AddBodyWithCustomID(BodyManager self, Body body, uint bodyID);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/BodyManager.h#L103">Jolt/Physics/Body/BodyManager.h:103</see>
|
||||
/// <br/>
|
||||
/// <c>void DestroyBodies(const BodyID *inBodyIDs, int inNumber)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Remove a set of bodies from the body manager and frees them.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "BodyManager_DestroyBodies")]
|
||||
public static partial void BodyManager_DestroyBodies(BodyManager self, uint* bodyIDs, int number);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/BodyManager.h#L107">Jolt/Physics/Body/BodyManager.h:107</see>
|
||||
/// <br/>
|
||||
/// <c>void ActivateBodies(const BodyID *inBodyIDs, int inNumber)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Activate a list of bodies.
|
||||
/// This function should only be called when an exclusive lock for the bodies are held.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "BodyManager_ActivateBodies")]
|
||||
public static partial void BodyManager_ActivateBodies(BodyManager self, uint* bodyIDs, int number);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/BodyManager.h#L111">Jolt/Physics/Body/BodyManager.h:111</see>
|
||||
/// <br/>
|
||||
/// <c>void DeactivateBodies(const BodyID *inBodyIDs, int inNumber)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Deactivate a list of bodies.
|
||||
/// This function should only be called when an exclusive lock for the bodies are held.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "BodyManager_DeactivateBodies")]
|
||||
public static partial void BodyManager_DeactivateBodies(BodyManager self, uint* bodyIDs, int number);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/BodyManager.h#L114">Jolt/Physics/Body/BodyManager.h:114</see>
|
||||
/// <br/>
|
||||
/// <c>void SetMotionQuality(Body &ioBody, EMotionQuality inMotionQuality)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Update the motion quality for a body
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "BodyManager_SetMotionQuality")]
|
||||
public static partial void BodyManager_SetMotionQuality(BodyManager self, Body body, EMotionQuality motionQuality);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/BodyManager.h#L123">Jolt/Physics/Body/BodyManager.h:123</see>
|
||||
/// <br/>
|
||||
/// <c>uint32 GetNumActiveBodies(EBodyType inType) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Get the number of active bodies.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "BodyManager_GetNumActiveBodies")]
|
||||
public static partial uint BodyManager_GetNumActiveBodies(BodyManager self, EBodyType type);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/BodyManager.h#L126">Jolt/Physics/Body/BodyManager.h:126</see>
|
||||
/// <br/>
|
||||
/// <c>uint32 GetNumActiveCCDBodies() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Get the number of active bodies that are using continuous collision detection
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "BodyManager_GetNumActiveCCDBodies")]
|
||||
public static partial uint BodyManager_GetNumActiveCCDBodies(BodyManager self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/BodyManager.h#L129">Jolt/Physics/Body/BodyManager.h:129</see>
|
||||
/// <br/>
|
||||
/// <c>void SetBodyActivationListener(BodyActivationListener *inListener)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Listener that is notified whenever a body is activated/deactivated
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "BodyManager_SetBodyActivationListener")]
|
||||
public static partial void BodyManager_SetBodyActivationListener(BodyManager self, BodyActivationListener listener);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/BodyManager.h#L130">Jolt/Physics/Body/BodyManager.h:130</see>
|
||||
/// <br/>
|
||||
/// <c>BodyActivationListener * GetBodyActivationListener() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// The returned handle is borrowed from its owner; don't Dispose it.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "BodyManager_GetBodyActivationListener")]
|
||||
public static partial BodyActivationListener BodyManager_GetBodyActivationListener(BodyManager self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/BodyManager.h#L133">Jolt/Physics/Body/BodyManager.h:133</see>
|
||||
/// <br/>
|
||||
/// <c>static inline bool sIsValidBodyPointer(const Body *inBody)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Check if this is a valid body pointer. When a body is freed the memory that the pointer occupies is
|
||||
/// reused to store a freelist.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "BodyManager_sIsValidBodyPointer")]
|
||||
public static partial Brutal.Bool8 BodyManager_sIsValidBodyPointer(Body body);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/BodyManager.h#L145">Jolt/Physics/Body/BodyManager.h:145</see>
|
||||
/// <br/>
|
||||
/// <c>const Body & GetBody(const BodyID &inID) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Access a body (not protected by lock)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// The returned handle is borrowed from its owner; don't Dispose it.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "BodyManager_GetBody")]
|
||||
public static partial Body BodyManager_GetBody(BodyManager self, uint iD);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/BodyManager.h#L151">Jolt/Physics/Body/BodyManager.h:151</see>
|
||||
/// <br/>
|
||||
/// <c>const Body * TryGetBody(const BodyID &inID) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Access a body, will return a nullptr if the body ID is no longer valid (not protected by lock)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// The returned handle is borrowed from its owner; don't Dispose it.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "BodyManager_TryGetBody")]
|
||||
public static partial Body BodyManager_TryGetBody(BodyManager self, uint iD);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/BodyManager.h#L195">Jolt/Physics/Body/BodyManager.h:195</see>
|
||||
/// <br/>
|
||||
/// <c>void LockAllBodies() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Lock all bodies. This should only be done during PhysicsSystem::Update().
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "BodyManager_LockAllBodies")]
|
||||
public static partial void BodyManager_LockAllBodies(BodyManager self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/BodyManager.h#L198">Jolt/Physics/Body/BodyManager.h:198</see>
|
||||
/// <br/>
|
||||
/// <c>void UnlockAllBodies() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Unlock all bodies. This should only be done during PhysicsSystem::Update().
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "BodyManager_UnlockAllBodies")]
|
||||
public static partial void BodyManager_UnlockAllBodies(BodyManager self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/BodyManager.h#L201">Jolt/Physics/Body/BodyManager.h:201</see>
|
||||
/// <br/>
|
||||
/// <c>inline void SetBodyObjectLayerInternal(Body &ioBody, ObjectLayer inLayer) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Function to update body's layer (should only be called by the BodyInterface since it also requires
|
||||
/// updating the broadphase)
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "BodyManager_SetBodyObjectLayerInternal")]
|
||||
public static partial void BodyManager_SetBodyObjectLayerInternal(BodyManager self, Body body, ushort layer);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/BodyManager.h#L204">Jolt/Physics/Body/BodyManager.h:204</see>
|
||||
/// <br/>
|
||||
/// <c>void InvalidateContactCacheForBody(Body &ioBody)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Set the Body::EFlags::InvalidateContactCache flag for the specified body. This means that the
|
||||
/// collision cache is invalid for any body pair involving that body until the next physics step.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "BodyManager_InvalidateContactCacheForBody")]
|
||||
public static partial void BodyManager_InvalidateContactCacheForBody(BodyManager self, Body body);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/BodyManager.h#L207">Jolt/Physics/Body/BodyManager.h:207</see>
|
||||
/// <br/>
|
||||
/// <c>void ValidateContactCacheForAllBodies()</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Reset the Body::EFlags::InvalidateContactCache flag for all bodies. All contact pairs in the contact
|
||||
/// cache will now by valid again.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "BodyManager_ValidateContactCacheForAllBodies")]
|
||||
public static partial void BodyManager_ValidateContactCacheForAllBodies(BodyManager self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/BodyManager.h#L216">Jolt/Physics/Body/BodyManager.h:216</see>
|
||||
/// <br/>
|
||||
/// <c>void SaveBodyState(const Body &inBody, StateRecorder &inStream) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Save the state of a single body for replay
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "BodyManager_SaveBodyState")]
|
||||
public static partial void BodyManager_SaveBodyState(BodyManager self, Body body, StateRecorder stream);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/BodyManager.h#L219">Jolt/Physics/Body/BodyManager.h:219</see>
|
||||
/// <br/>
|
||||
/// <c>void RestoreBodyState(Body &inBody, StateRecorder &inStream)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Save the state of a single body for replay
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "BodyManager_RestoreBodyState")]
|
||||
public static partial void BodyManager_RestoreBodyState(BodyManager self, Body body, StateRecorder stream);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Body/BodyManager.h#L272">Jolt/Physics/Body/BodyManager.h:272</see>
|
||||
/// <br/>
|
||||
/// <c>void Draw(const DrawSettings &inSettings, const PhysicsSettings &inPhysicsSettings, DebugRenderer *inRenderer, const BodyDrawFilter *inBodyFilter = nullptr)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Draw the state of the bodies (debugging purposes)
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "BodyManager_Draw")]
|
||||
public static partial void BodyManager_Draw(BodyManager self, ref BodyManager.DrawSettings settings, ref PhysicsSettings physicsSettings, DebugRenderer renderer, BodyDrawFilter bodyFilter);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue