This commit is contained in:
Rian Drake 2026-10-15 14:09:11 +13:00
commit b578433e37

View file

@ -0,0 +1,63 @@
// <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
{
/// <inheritdoc cref="BodyLockInterface.TryGetBody(uint)"/>
[LibraryImport("jolt", EntryPoint = "BodyLockInterface_TryGetBody")]
public static partial Body BodyLockInterface_TryGetBody(BodyLockInterface self, uint bodyID);
/// <inheritdoc cref="BodyLockInterface.GetWorldTransforms(ReadOnlySpan{uint}, Span{float4x4})"/>
[LibraryImport("jolt", EntryPoint = "BodyLockInterface_GetWorldTransforms")]
public static partial void BodyLockInterface_GetWorldTransforms(
BodyLockInterface self,
uint* bodyIDs,
nuint bodyIDsCount,
float4x4* transforms,
nuint transformsCount
);
/// <inheritdoc cref="BodyLockInterface.GetPositionsAndRotations(ReadOnlySpan{uint}, Span{float3}, Span{floatQuat})"/>
[LibraryImport("jolt", EntryPoint = "BodyLockInterface_GetPositionsAndRotations")]
public static partial void BodyLockInterface_GetPositionsAndRotations(
BodyLockInterface self,
uint* bodyIDs,
nuint bodyIDsCount,
float3* positions,
nuint positionsCount,
floatQuat* rotations,
nuint rotationsCount
);
/// <inheritdoc cref="BodyLockInterface.GetLinearAndAngularVelocities(ReadOnlySpan{uint}, Span{float3}, Span{float3})"/>
[LibraryImport("jolt", EntryPoint = "BodyLockInterface_GetLinearAndAngularVelocities")]
public static partial void BodyLockInterface_GetLinearAndAngularVelocities(
BodyLockInterface self,
uint* bodyIDs,
nuint bodyIDsCount,
float3* linearVelocities,
nuint linearVelocitiesCount,
float3* angularVelocities,
nuint angularVelocitiesCount
);
/// <inheritdoc cref="BodyLockInterface.GetBodyStates(ReadOnlySpan{uint}, Span{BodyState})"/>
[LibraryImport("jolt", EntryPoint = "BodyLockInterface_GetBodyStates")]
public static partial void BodyLockInterface_GetBodyStates(
BodyLockInterface self,
uint* bodyIDs,
nuint bodyIDsCount,
BodyState* states,
nuint statesCount
);
}
}
}