mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
195 lines
9 KiB
C#
195 lines
9 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="Ragdoll.Create(PhysicsSystem)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Ragdoll_Create")]
|
|
public static partial Ragdoll Ragdoll_Create(PhysicsSystem system);
|
|
|
|
/// <inheritdoc cref="Ragdoll.AddToPhysicsSystem(Activation, bool)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Ragdoll_AddToPhysicsSystem")]
|
|
public static partial void Ragdoll_AddToPhysicsSystem(
|
|
Ragdoll self,
|
|
Activation activationMode,
|
|
Brutal.Bool8 lockBodies
|
|
);
|
|
|
|
/// <inheritdoc cref="Ragdoll.RemoveFromPhysicsSystem(bool)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Ragdoll_RemoveFromPhysicsSystem")]
|
|
public static partial void Ragdoll_RemoveFromPhysicsSystem(Ragdoll self, Brutal.Bool8 lockBodies);
|
|
|
|
/// <inheritdoc cref="Ragdoll.Activate(bool)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Ragdoll_Activate")]
|
|
public static partial void Ragdoll_Activate(Ragdoll self, Brutal.Bool8 lockBodies);
|
|
|
|
/// <inheritdoc cref="Ragdoll.IsActive(bool)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Ragdoll_IsActive")]
|
|
public static partial Brutal.Bool8 Ragdoll_IsActive(Ragdoll self, Brutal.Bool8 lockBodies);
|
|
|
|
/// <inheritdoc cref="Ragdoll.SetGroupID(uint, bool)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Ragdoll_SetGroupID")]
|
|
public static partial void Ragdoll_SetGroupID(Ragdoll self, uint groupID, Brutal.Bool8 lockBodies);
|
|
|
|
/// <inheritdoc cref="Ragdoll.SetPose(SkeletonPose, bool)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Ragdoll_SetPose")]
|
|
public static partial void Ragdoll_SetPose(Ragdoll self, SkeletonPose pose, Brutal.Bool8 lockBodies);
|
|
|
|
/// <inheritdoc cref="Ragdoll.SetPose(float3, ReadOnlySpan{float4x4}, bool)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Ragdoll_SetPose_2")]
|
|
public static partial void Ragdoll_SetPose_2(
|
|
Ragdoll self,
|
|
float3 rootOffset,
|
|
float4x4* jointMatrices,
|
|
uint jointMatricesCount,
|
|
Brutal.Bool8 lockBodies,
|
|
out uint outBufferCheck
|
|
);
|
|
|
|
/// <inheritdoc cref="Ragdoll.GetPose(SkeletonPose, bool)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Ragdoll_GetPose")]
|
|
public static partial void Ragdoll_GetPose(Ragdoll self, SkeletonPose pose, Brutal.Bool8 lockBodies);
|
|
|
|
/// <inheritdoc cref="Ragdoll.GetPose(out float3, Span{float4x4}, bool)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Ragdoll_GetPose_2")]
|
|
public static partial void Ragdoll_GetPose_2(
|
|
Ragdoll self,
|
|
out float3 rootOffset,
|
|
float4x4* jointMatrices,
|
|
uint jointMatricesCount,
|
|
Brutal.Bool8 lockBodies,
|
|
out uint outBufferCheck
|
|
);
|
|
|
|
/// <inheritdoc cref="Ragdoll.ResetWarmStart()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Ragdoll_ResetWarmStart")]
|
|
public static partial void Ragdoll_ResetWarmStart(Ragdoll self);
|
|
|
|
/// <inheritdoc cref="Ragdoll.DriveToPoseUsingKinematics(SkeletonPose, float, bool)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Ragdoll_DriveToPoseUsingKinematics")]
|
|
public static partial void Ragdoll_DriveToPoseUsingKinematics(
|
|
Ragdoll self,
|
|
SkeletonPose pose,
|
|
float deltaTime,
|
|
Brutal.Bool8 lockBodies
|
|
);
|
|
|
|
/// <inheritdoc cref="Ragdoll.DriveToPoseUsingKinematics(float3, ReadOnlySpan{float4x4}, float, bool)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Ragdoll_DriveToPoseUsingKinematics_2")]
|
|
public static partial void Ragdoll_DriveToPoseUsingKinematics_2(
|
|
Ragdoll self,
|
|
float3 rootOffset,
|
|
float4x4* jointMatrices,
|
|
uint jointMatricesCount,
|
|
float deltaTime,
|
|
Brutal.Bool8 lockBodies,
|
|
out uint outBufferCheck
|
|
);
|
|
|
|
/// <inheritdoc cref="Ragdoll.DriveToPoseUsingMotors(SkeletonPose)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Ragdoll_DriveToPoseUsingMotors")]
|
|
public static partial void Ragdoll_DriveToPoseUsingMotors(
|
|
Ragdoll self,
|
|
SkeletonPose pose,
|
|
out uint outBufferCheck
|
|
);
|
|
|
|
/// <inheritdoc cref="Ragdoll.DriveToPoseUsingMotors(SkeletonPose, SkeletonPose, float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Ragdoll_DriveToPoseUsingMotors_2")]
|
|
public static partial void Ragdoll_DriveToPoseUsingMotors_2(
|
|
Ragdoll self,
|
|
SkeletonPose prevPose,
|
|
SkeletonPose pose,
|
|
float deltaTime,
|
|
out uint outBufferCheck
|
|
);
|
|
|
|
/// <inheritdoc cref="Ragdoll.SetLinearAndAngularVelocity(float3, float3, bool)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Ragdoll_SetLinearAndAngularVelocity")]
|
|
public static partial void Ragdoll_SetLinearAndAngularVelocity(
|
|
Ragdoll self,
|
|
float3 linearVelocity,
|
|
float3 angularVelocity,
|
|
Brutal.Bool8 lockBodies
|
|
);
|
|
|
|
/// <inheritdoc cref="Ragdoll.SetLinearVelocity(float3, bool)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Ragdoll_SetLinearVelocity")]
|
|
public static partial void Ragdoll_SetLinearVelocity(
|
|
Ragdoll self,
|
|
float3 linearVelocity,
|
|
Brutal.Bool8 lockBodies
|
|
);
|
|
|
|
/// <inheritdoc cref="Ragdoll.AddLinearVelocity(float3, bool)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Ragdoll_AddLinearVelocity")]
|
|
public static partial void Ragdoll_AddLinearVelocity(
|
|
Ragdoll self,
|
|
float3 linearVelocity,
|
|
Brutal.Bool8 lockBodies
|
|
);
|
|
|
|
/// <inheritdoc cref="Ragdoll.AddImpulse(float3, bool)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Ragdoll_AddImpulse")]
|
|
public static partial void Ragdoll_AddImpulse(Ragdoll self, float3 impulse, Brutal.Bool8 lockBodies);
|
|
|
|
/// <inheritdoc cref="Ragdoll.GetRootTransform(out float3, out floatQuat, bool)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Ragdoll_GetRootTransform")]
|
|
public static partial void Ragdoll_GetRootTransform(
|
|
Ragdoll self,
|
|
out float3 position,
|
|
out floatQuat rotation,
|
|
Brutal.Bool8 lockBodies
|
|
);
|
|
|
|
/// <inheritdoc cref="Ragdoll.GetBodyCount()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Ragdoll_GetBodyCount")]
|
|
public static partial nuint Ragdoll_GetBodyCount(Ragdoll self);
|
|
|
|
/// <inheritdoc cref="Ragdoll.GetBodyID(int)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Ragdoll_GetBodyID")]
|
|
public static partial uint Ragdoll_GetBodyID(Ragdoll self, int bodyIndex, out uint outInRange);
|
|
|
|
/// <inheritdoc cref="Ragdoll.GetBodyIDs()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Ragdoll_GetBodyIDs")]
|
|
public static partial void Ragdoll_GetBodyIDs(Ragdoll self, out NativeSpanView outResult);
|
|
|
|
/// <inheritdoc cref="Ragdoll.GetConstraintCount()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Ragdoll_GetConstraintCount")]
|
|
public static partial nuint Ragdoll_GetConstraintCount(Ragdoll self);
|
|
|
|
/// <inheritdoc cref="Ragdoll.GetConstraint(int)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Ragdoll_GetConstraint")]
|
|
public static partial TwoBodyConstraint Ragdoll_GetConstraint(
|
|
Ragdoll self,
|
|
int constraintIndex,
|
|
out uint outInRange
|
|
);
|
|
|
|
/// <inheritdoc cref="Ragdoll.GetWorldSpaceBounds(bool)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Ragdoll_GetWorldSpaceBounds")]
|
|
public static partial AABox Ragdoll_GetWorldSpaceBounds(Ragdoll self, Brutal.Bool8 lockBodies);
|
|
|
|
/// <inheritdoc cref="Ragdoll.GetRagdollSettings()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Ragdoll_GetRagdollSettings")]
|
|
public static partial RagdollSettings Ragdoll_GetRagdollSettings(Ragdoll self);
|
|
|
|
[LibraryImport("jolt", EntryPoint = "Ragdoll_AddRef")]
|
|
public static partial void Ragdoll_AddRef(Ragdoll self);
|
|
|
|
[LibraryImport("jolt", EntryPoint = "Ragdoll_Release")]
|
|
public static partial void Ragdoll_Release(Ragdoll self);
|
|
|
|
[LibraryImport("jolt", EntryPoint = "Ragdoll_GetRefCount")]
|
|
public static partial uint Ragdoll_GetRefCount(Ragdoll self);
|
|
}
|
|
}
|
|
}
|