brutal/Brutal.Jolt/Generated/PInvoke/BodyLockInterface.gen.cs
Rian Drake b578433e37 first
2026-10-15 17:10:50 +13:00

63 lines
2.6 KiB
C#

// <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
);
}
}
}