//
// 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
{
///
[LibraryImport("jolt", EntryPoint = "BodyLockInterface_TryGetBody")]
public static partial Body BodyLockInterface_TryGetBody(BodyLockInterface self, uint bodyID);
///
[LibraryImport("jolt", EntryPoint = "BodyLockInterface_GetWorldTransforms")]
public static partial void BodyLockInterface_GetWorldTransforms(
BodyLockInterface self,
uint* bodyIDs,
nuint bodyIDsCount,
float4x4* transforms,
nuint transformsCount
);
///
[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
);
///
[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
);
///
[LibraryImport("jolt", EntryPoint = "BodyLockInterface_GetBodyStates")]
public static partial void BodyLockInterface_GetBodyStates(
BodyLockInterface self,
uint* bodyIDs,
nuint bodyIDsCount,
BodyState* states,
nuint statesCount
);
}
}
}