mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
200 lines
11 KiB
C#
200 lines
11 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="Constraint.GetConstraintType()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_GetConstraintType")]
|
|
public static partial ConstraintType Constraint_GetConstraintType(Constraint self);
|
|
|
|
/// <inheritdoc cref="Constraint.GetSubType()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_GetSubType")]
|
|
public static partial ConstraintSubType Constraint_GetSubType(Constraint self);
|
|
|
|
/// <inheritdoc cref="Constraint.GetConstraintPriority()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_GetConstraintPriority")]
|
|
public static partial uint Constraint_GetConstraintPriority(Constraint self);
|
|
|
|
/// <inheritdoc cref="Constraint.SetConstraintPriority(uint)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_SetConstraintPriority")]
|
|
public static partial void Constraint_SetConstraintPriority(Constraint self, uint priority);
|
|
|
|
/// <inheritdoc cref="Constraint.SetNumVelocityStepsOverride(uint)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_SetNumVelocityStepsOverride")]
|
|
public static partial void Constraint_SetNumVelocityStepsOverride(Constraint self, uint n);
|
|
|
|
/// <inheritdoc cref="Constraint.GetNumVelocityStepsOverride()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_GetNumVelocityStepsOverride")]
|
|
public static partial uint Constraint_GetNumVelocityStepsOverride(Constraint self);
|
|
|
|
/// <inheritdoc cref="Constraint.SetNumPositionStepsOverride(uint)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_SetNumPositionStepsOverride")]
|
|
public static partial void Constraint_SetNumPositionStepsOverride(Constraint self, uint n);
|
|
|
|
/// <inheritdoc cref="Constraint.GetNumPositionStepsOverride()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_GetNumPositionStepsOverride")]
|
|
public static partial uint Constraint_GetNumPositionStepsOverride(Constraint self);
|
|
|
|
/// <inheritdoc cref="Constraint.SetEnabled(bool)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_SetEnabled")]
|
|
public static partial void Constraint_SetEnabled(Constraint self, Brutal.Bool8 enabled);
|
|
|
|
/// <inheritdoc cref="Constraint.GetEnabled()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_GetEnabled")]
|
|
public static partial Brutal.Bool8 Constraint_GetEnabled(Constraint self);
|
|
|
|
/// <inheritdoc cref="Constraint.GetUserData()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_GetUserData")]
|
|
public static partial ulong Constraint_GetUserData(Constraint self);
|
|
|
|
/// <inheritdoc cref="Constraint.SetUserData(ulong)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_SetUserData")]
|
|
public static partial void Constraint_SetUserData(Constraint self, ulong userData);
|
|
|
|
/// <inheritdoc cref="Constraint.NotifyShapeChanged(uint, float3)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_NotifyShapeChanged")]
|
|
public static partial void Constraint_NotifyShapeChanged(Constraint self, uint bodyID, float3 deltaCOM);
|
|
|
|
/// <inheritdoc cref="Constraint.ResetWarmStart()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_ResetWarmStart")]
|
|
public static partial void Constraint_ResetWarmStart(Constraint self);
|
|
|
|
/// <inheritdoc cref="Constraint.IsActive()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_IsActive")]
|
|
public static partial Brutal.Bool8 Constraint_IsActive(Constraint self);
|
|
|
|
/// <inheritdoc cref="Constraint.SetupVelocityConstraint(float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_SetupVelocityConstraint")]
|
|
public static partial void Constraint_SetupVelocityConstraint(Constraint self, float deltaTime);
|
|
|
|
/// <inheritdoc cref="Constraint.WarmStartVelocityConstraint(float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_WarmStartVelocityConstraint")]
|
|
public static partial void Constraint_WarmStartVelocityConstraint(
|
|
Constraint self,
|
|
float warmStartImpulseRatio
|
|
);
|
|
|
|
/// <inheritdoc cref="Constraint.SolveVelocityConstraint(float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_SolveVelocityConstraint")]
|
|
public static partial Brutal.Bool8 Constraint_SolveVelocityConstraint(Constraint self, float deltaTime);
|
|
|
|
/// <inheritdoc cref="Constraint.SolvePositionConstraint(float, float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_SolvePositionConstraint")]
|
|
public static partial Brutal.Bool8 Constraint_SolvePositionConstraint(
|
|
Constraint self,
|
|
float deltaTime,
|
|
float baumgarte
|
|
);
|
|
|
|
/// <inheritdoc cref="Constraint.BuildIslands(uint, IslandBuilder, BodyManager)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_BuildIslands")]
|
|
public static partial void Constraint_BuildIslands(
|
|
Constraint self,
|
|
uint constraintIndex,
|
|
IslandBuilder builder,
|
|
BodyManager bodyManager
|
|
);
|
|
|
|
/// <inheritdoc cref="Constraint.BuildIslandSplits(LargeIslandSplitter)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_BuildIslandSplits")]
|
|
public static partial uint Constraint_BuildIslandSplits(Constraint self, LargeIslandSplitter splitter);
|
|
|
|
/// <inheritdoc cref="Constraint.DrawConstraint(DebugRenderer)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_DrawConstraint")]
|
|
public static partial void Constraint_DrawConstraint(Constraint self, DebugRenderer renderer);
|
|
|
|
/// <inheritdoc cref="Constraint.DrawConstraintLimits(DebugRenderer)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_DrawConstraintLimits")]
|
|
public static partial void Constraint_DrawConstraintLimits(Constraint self, DebugRenderer renderer);
|
|
|
|
/// <inheritdoc cref="Constraint.DrawConstraintReferenceFrame(DebugRenderer)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_DrawConstraintReferenceFrame")]
|
|
public static partial void Constraint_DrawConstraintReferenceFrame(Constraint self, DebugRenderer renderer);
|
|
|
|
/// <inheritdoc cref="Constraint.GetDrawConstraintSize()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_GetDrawConstraintSize")]
|
|
public static partial float Constraint_GetDrawConstraintSize(Constraint self);
|
|
|
|
/// <inheritdoc cref="Constraint.SetDrawConstraintSize(float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_SetDrawConstraintSize")]
|
|
public static partial void Constraint_SetDrawConstraintSize(Constraint self, float size);
|
|
|
|
/// <inheritdoc cref="Constraint.GetConstraintSettings()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_GetConstraintSettings")]
|
|
public static partial ConstraintSettings Constraint_GetConstraintSettings(Constraint self);
|
|
|
|
/// <inheritdoc cref="Constraint.AsTwoBodyConstraint()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_AsTwoBodyConstraint")]
|
|
public static partial TwoBodyConstraint Constraint_AsTwoBodyConstraint(Constraint self);
|
|
|
|
/// <inheritdoc cref="Constraint.AsFixedConstraint()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_AsFixedConstraint")]
|
|
public static partial FixedConstraint Constraint_AsFixedConstraint(Constraint self);
|
|
|
|
/// <inheritdoc cref="Constraint.AsPointConstraint()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_AsPointConstraint")]
|
|
public static partial PointConstraint Constraint_AsPointConstraint(Constraint self);
|
|
|
|
/// <inheritdoc cref="Constraint.AsHingeConstraint()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_AsHingeConstraint")]
|
|
public static partial HingeConstraint Constraint_AsHingeConstraint(Constraint self);
|
|
|
|
/// <inheritdoc cref="Constraint.AsSliderConstraint()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_AsSliderConstraint")]
|
|
public static partial SliderConstraint Constraint_AsSliderConstraint(Constraint self);
|
|
|
|
/// <inheritdoc cref="Constraint.AsDistanceConstraint()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_AsDistanceConstraint")]
|
|
public static partial DistanceConstraint Constraint_AsDistanceConstraint(Constraint self);
|
|
|
|
/// <inheritdoc cref="Constraint.AsConeConstraint()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_AsConeConstraint")]
|
|
public static partial ConeConstraint Constraint_AsConeConstraint(Constraint self);
|
|
|
|
/// <inheritdoc cref="Constraint.AsSwingTwistConstraint()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_AsSwingTwistConstraint")]
|
|
public static partial SwingTwistConstraint Constraint_AsSwingTwistConstraint(Constraint self);
|
|
|
|
/// <inheritdoc cref="Constraint.AsSixDOFConstraint()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_AsSixDOFConstraint")]
|
|
public static partial SixDOFConstraint Constraint_AsSixDOFConstraint(Constraint self);
|
|
|
|
/// <inheritdoc cref="Constraint.AsPathConstraint()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_AsPathConstraint")]
|
|
public static partial PathConstraint Constraint_AsPathConstraint(Constraint self);
|
|
|
|
/// <inheritdoc cref="Constraint.AsVehicleConstraint()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_AsVehicleConstraint")]
|
|
public static partial VehicleConstraint Constraint_AsVehicleConstraint(Constraint self);
|
|
|
|
/// <inheritdoc cref="Constraint.AsRackAndPinionConstraint()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_AsRackAndPinionConstraint")]
|
|
public static partial RackAndPinionConstraint Constraint_AsRackAndPinionConstraint(Constraint self);
|
|
|
|
/// <inheritdoc cref="Constraint.AsGearConstraint()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_AsGearConstraint")]
|
|
public static partial GearConstraint Constraint_AsGearConstraint(Constraint self);
|
|
|
|
/// <inheritdoc cref="Constraint.AsPulleyConstraint()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_AsPulleyConstraint")]
|
|
public static partial PulleyConstraint Constraint_AsPulleyConstraint(Constraint self);
|
|
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_AddRef")]
|
|
public static partial void Constraint_AddRef(Constraint self);
|
|
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_Release")]
|
|
public static partial void Constraint_Release(Constraint self);
|
|
|
|
[LibraryImport("jolt", EntryPoint = "Constraint_GetRefCount")]
|
|
public static partial uint Constraint_GetRefCount(Constraint self);
|
|
}
|
|
}
|
|
}
|