mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
454 lines
24 KiB
C#
454 lines
24 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="Body.GetID()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetID")]
|
|
public static partial uint Body_GetID(Body self);
|
|
|
|
/// <inheritdoc cref="Body.GetBodyType()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetBodyType")]
|
|
public static partial BodyType Body_GetBodyType(Body self);
|
|
|
|
/// <inheritdoc cref="Body.IsRigidBody()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_IsRigidBody")]
|
|
public static partial Brutal.Bool8 Body_IsRigidBody(Body self);
|
|
|
|
/// <inheritdoc cref="Body.IsSoftBody()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_IsSoftBody")]
|
|
public static partial Brutal.Bool8 Body_IsSoftBody(Body self);
|
|
|
|
/// <inheritdoc cref="Body.IsActive()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_IsActive")]
|
|
public static partial Brutal.Bool8 Body_IsActive(Body self);
|
|
|
|
/// <inheritdoc cref="Body.IsStatic()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_IsStatic")]
|
|
public static partial Brutal.Bool8 Body_IsStatic(Body self);
|
|
|
|
/// <inheritdoc cref="Body.IsKinematic()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_IsKinematic")]
|
|
public static partial Brutal.Bool8 Body_IsKinematic(Body self);
|
|
|
|
/// <inheritdoc cref="Body.IsDynamic()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_IsDynamic")]
|
|
public static partial Brutal.Bool8 Body_IsDynamic(Body self);
|
|
|
|
/// <inheritdoc cref="Body.CanBeKinematicOrDynamic()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_CanBeKinematicOrDynamic")]
|
|
public static partial Brutal.Bool8 Body_CanBeKinematicOrDynamic(Body self);
|
|
|
|
/// <inheritdoc cref="Body.SetIsSensor(bool)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_SetIsSensor")]
|
|
public static partial void Body_SetIsSensor(Body self, Brutal.Bool8 isSensor);
|
|
|
|
/// <inheritdoc cref="Body.IsSensor()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_IsSensor")]
|
|
public static partial Brutal.Bool8 Body_IsSensor(Body self);
|
|
|
|
/// <inheritdoc cref="Body.SetCollideKinematicVsNonDynamic(bool)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_SetCollideKinematicVsNonDynamic")]
|
|
public static partial void Body_SetCollideKinematicVsNonDynamic(Body self, Brutal.Bool8 collide);
|
|
|
|
/// <inheritdoc cref="Body.GetCollideKinematicVsNonDynamic()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetCollideKinematicVsNonDynamic")]
|
|
public static partial Brutal.Bool8 Body_GetCollideKinematicVsNonDynamic(Body self);
|
|
|
|
/// <inheritdoc cref="Body.SetUseManifoldReduction(bool)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_SetUseManifoldReduction")]
|
|
public static partial void Body_SetUseManifoldReduction(Body self, Brutal.Bool8 useReduction);
|
|
|
|
/// <inheritdoc cref="Body.GetUseManifoldReduction()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetUseManifoldReduction")]
|
|
public static partial Brutal.Bool8 Body_GetUseManifoldReduction(Body self);
|
|
|
|
/// <inheritdoc cref="Body.GetUseManifoldReductionWithBody(Body)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetUseManifoldReductionWithBody")]
|
|
public static partial Brutal.Bool8 Body_GetUseManifoldReductionWithBody(Body self, Body body2);
|
|
|
|
/// <inheritdoc cref="Body.SetApplyGyroscopicForce(bool)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_SetApplyGyroscopicForce")]
|
|
public static partial void Body_SetApplyGyroscopicForce(Body self, Brutal.Bool8 apply);
|
|
|
|
/// <inheritdoc cref="Body.GetApplyGyroscopicForce()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetApplyGyroscopicForce")]
|
|
public static partial Brutal.Bool8 Body_GetApplyGyroscopicForce(Body self);
|
|
|
|
/// <inheritdoc cref="Body.SetEnhancedInternalEdgeRemoval(bool)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_SetEnhancedInternalEdgeRemoval")]
|
|
public static partial void Body_SetEnhancedInternalEdgeRemoval(Body self, Brutal.Bool8 apply);
|
|
|
|
/// <inheritdoc cref="Body.GetEnhancedInternalEdgeRemoval()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetEnhancedInternalEdgeRemoval")]
|
|
public static partial Brutal.Bool8 Body_GetEnhancedInternalEdgeRemoval(Body self);
|
|
|
|
/// <inheritdoc cref="Body.GetEnhancedInternalEdgeRemovalWithBody(Body)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetEnhancedInternalEdgeRemovalWithBody")]
|
|
public static partial Brutal.Bool8 Body_GetEnhancedInternalEdgeRemovalWithBody(Body self, Body body2);
|
|
|
|
/// <inheritdoc cref="Body.GetMotionType()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetMotionType")]
|
|
public static partial MotionType Body_GetMotionType(Body self);
|
|
|
|
/// <inheritdoc cref="Body.SetMotionType(MotionType)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_SetMotionType")]
|
|
public static partial void Body_SetMotionType(Body self, MotionType motionType);
|
|
|
|
/// <inheritdoc cref="Body.GetBroadPhaseLayer()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetBroadPhaseLayer")]
|
|
public static partial byte Body_GetBroadPhaseLayer(Body self);
|
|
|
|
/// <inheritdoc cref="Body.GetObjectLayer()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetObjectLayer")]
|
|
public static partial ushort Body_GetObjectLayer(Body self);
|
|
|
|
/// <inheritdoc cref="Body.GetCollisionGroup()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetCollisionGroup")]
|
|
public static partial CollisionGroup Body_GetCollisionGroup(Body self);
|
|
|
|
/// <inheritdoc cref="Body.SetCollisionGroup(CollisionGroup)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_SetCollisionGroup")]
|
|
public static partial void Body_SetCollisionGroup(Body self, CollisionGroup group);
|
|
|
|
/// <inheritdoc cref="Body.GetAllowSleeping()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetAllowSleeping")]
|
|
public static partial Brutal.Bool8 Body_GetAllowSleeping(Body self);
|
|
|
|
/// <inheritdoc cref="Body.SetAllowSleeping(bool)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_SetAllowSleeping")]
|
|
public static partial void Body_SetAllowSleeping(Body self, Brutal.Bool8 allow);
|
|
|
|
/// <inheritdoc cref="Body.ResetSleepTimer()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_ResetSleepTimer")]
|
|
public static partial void Body_ResetSleepTimer(Body self);
|
|
|
|
/// <inheritdoc cref="Body.GetFriction()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetFriction")]
|
|
public static partial float Body_GetFriction(Body self);
|
|
|
|
/// <inheritdoc cref="Body.SetFriction(float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_SetFriction")]
|
|
public static partial void Body_SetFriction(Body self, float friction);
|
|
|
|
/// <inheritdoc cref="Body.GetRestitution()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetRestitution")]
|
|
public static partial float Body_GetRestitution(Body self);
|
|
|
|
/// <inheritdoc cref="Body.SetRestitution(float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_SetRestitution")]
|
|
public static partial void Body_SetRestitution(Body self, float restitution);
|
|
|
|
/// <inheritdoc cref="Body.GetLinearVelocity()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetLinearVelocity")]
|
|
public static partial float3 Body_GetLinearVelocity(Body self);
|
|
|
|
/// <inheritdoc cref="Body.SetLinearVelocity(float3)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_SetLinearVelocity")]
|
|
public static partial void Body_SetLinearVelocity(Body self, float3 linearVelocity);
|
|
|
|
/// <inheritdoc cref="Body.SetLinearVelocityClamped(float3)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_SetLinearVelocityClamped")]
|
|
public static partial void Body_SetLinearVelocityClamped(Body self, float3 linearVelocity);
|
|
|
|
/// <inheritdoc cref="Body.GetAngularVelocity()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetAngularVelocity")]
|
|
public static partial float3 Body_GetAngularVelocity(Body self);
|
|
|
|
/// <inheritdoc cref="Body.SetAngularVelocity(float3)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_SetAngularVelocity")]
|
|
public static partial void Body_SetAngularVelocity(Body self, float3 angularVelocity);
|
|
|
|
/// <inheritdoc cref="Body.SetAngularVelocityClamped(float3)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_SetAngularVelocityClamped")]
|
|
public static partial void Body_SetAngularVelocityClamped(Body self, float3 angularVelocity);
|
|
|
|
/// <inheritdoc cref="Body.GetPointVelocityCOM(float3)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetPointVelocityCOM")]
|
|
public static partial float3 Body_GetPointVelocityCOM(Body self, float3 pointRelativeToCOM);
|
|
|
|
/// <inheritdoc cref="Body.GetPointVelocity(float3)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetPointVelocity")]
|
|
public static partial float3 Body_GetPointVelocity(Body self, float3 point);
|
|
|
|
/// <inheritdoc cref="Body.AddForce(float3)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_AddForce")]
|
|
public static partial void Body_AddForce(Body self, float3 force);
|
|
|
|
/// <inheritdoc cref="Body.AddForce(float3, float3)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_AddForce_2")]
|
|
public static partial void Body_AddForce_2(Body self, float3 force, float3 position);
|
|
|
|
/// <inheritdoc cref="Body.AddTorque(float3)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_AddTorque")]
|
|
public static partial void Body_AddTorque(Body self, float3 torque);
|
|
|
|
/// <inheritdoc cref="Body.GetAccumulatedForce()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetAccumulatedForce")]
|
|
public static partial float3 Body_GetAccumulatedForce(Body self);
|
|
|
|
/// <inheritdoc cref="Body.GetAccumulatedTorque()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetAccumulatedTorque")]
|
|
public static partial float3 Body_GetAccumulatedTorque(Body self);
|
|
|
|
/// <inheritdoc cref="Body.ResetForce()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_ResetForce")]
|
|
public static partial void Body_ResetForce(Body self);
|
|
|
|
/// <inheritdoc cref="Body.ResetTorque()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_ResetTorque")]
|
|
public static partial void Body_ResetTorque(Body self);
|
|
|
|
/// <inheritdoc cref="Body.ResetMotion()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_ResetMotion")]
|
|
public static partial void Body_ResetMotion(Body self);
|
|
|
|
/// <inheritdoc cref="Body.GetInverseInertia()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetInverseInertia")]
|
|
public static partial float4x4 Body_GetInverseInertia(Body self);
|
|
|
|
/// <inheritdoc cref="Body.AddImpulse(float3)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_AddImpulse")]
|
|
public static partial void Body_AddImpulse(Body self, float3 impulse);
|
|
|
|
/// <inheritdoc cref="Body.AddImpulse(float3, float3)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_AddImpulse_2")]
|
|
public static partial void Body_AddImpulse_2(Body self, float3 impulse, float3 position);
|
|
|
|
/// <inheritdoc cref="Body.AddAngularImpulse(float3)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_AddAngularImpulse")]
|
|
public static partial void Body_AddAngularImpulse(Body self, float3 angularImpulse);
|
|
|
|
/// <inheritdoc cref="Body.MoveKinematic(float3, floatQuat, float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_MoveKinematic")]
|
|
public static partial void Body_MoveKinematic(
|
|
Body self,
|
|
float3 targetPosition,
|
|
floatQuat targetRotation,
|
|
float deltaTime
|
|
);
|
|
|
|
/// <inheritdoc cref="Body.GetSubmergedVolume(float3, float3, out float, out float, out float3)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetSubmergedVolume")]
|
|
public static partial void Body_GetSubmergedVolume(
|
|
Body self,
|
|
float3 surfacePosition,
|
|
float3 surfaceNormal,
|
|
out float totalVolume,
|
|
out float submergedVolume,
|
|
out float3 relativeCenterOfBuoyancy
|
|
);
|
|
|
|
/// <inheritdoc cref="Body.ApplyBuoyancyImpulse(float3, float3, float, float, float, float3, float3, float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_ApplyBuoyancyImpulse")]
|
|
public static partial Brutal.Bool8 Body_ApplyBuoyancyImpulse(
|
|
Body self,
|
|
float3 surfacePosition,
|
|
float3 surfaceNormal,
|
|
float buoyancy,
|
|
float linearDrag,
|
|
float angularDrag,
|
|
float3 fluidVelocity,
|
|
float3 gravity,
|
|
float deltaTime
|
|
);
|
|
|
|
/// <inheritdoc cref="Body.ApplyBuoyancyImpulse(float, float, float3, float, float, float, float3, float3, float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_ApplyBuoyancyImpulse_2")]
|
|
public static partial Brutal.Bool8 Body_ApplyBuoyancyImpulse_2(
|
|
Body self,
|
|
float totalVolume,
|
|
float submergedVolume,
|
|
float3 relativeCenterOfBuoyancy,
|
|
float buoyancy,
|
|
float linearDrag,
|
|
float angularDrag,
|
|
float3 fluidVelocity,
|
|
float3 gravity,
|
|
float deltaTime
|
|
);
|
|
|
|
/// <inheritdoc cref="Body.IsInBroadPhase()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_IsInBroadPhase")]
|
|
public static partial Brutal.Bool8 Body_IsInBroadPhase(Body self);
|
|
|
|
/// <inheritdoc cref="Body.IsCollisionCacheInvalid()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_IsCollisionCacheInvalid")]
|
|
public static partial Brutal.Bool8 Body_IsCollisionCacheInvalid(Body self);
|
|
|
|
/// <inheritdoc cref="Body.GetShape()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetShape")]
|
|
public static partial Shape Body_GetShape(Body self);
|
|
|
|
/// <inheritdoc cref="Body.GetPosition()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetPosition")]
|
|
public static partial float3 Body_GetPosition(Body self);
|
|
|
|
/// <inheritdoc cref="Body.GetRotation()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetRotation")]
|
|
public static partial floatQuat Body_GetRotation(Body self);
|
|
|
|
/// <inheritdoc cref="Body.GetWorldTransform()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetWorldTransform")]
|
|
public static partial float4x4 Body_GetWorldTransform(Body self);
|
|
|
|
/// <inheritdoc cref="Body.GetCenterOfMassPosition()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetCenterOfMassPosition")]
|
|
public static partial float3 Body_GetCenterOfMassPosition(Body self);
|
|
|
|
/// <inheritdoc cref="Body.GetCenterOfMassTransform()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetCenterOfMassTransform")]
|
|
public static partial float4x4 Body_GetCenterOfMassTransform(Body self);
|
|
|
|
/// <inheritdoc cref="Body.GetInverseCenterOfMassTransform()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetInverseCenterOfMassTransform")]
|
|
public static partial float4x4 Body_GetInverseCenterOfMassTransform(Body self);
|
|
|
|
/// <inheritdoc cref="Body.GetWorldSpaceBounds()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetWorldSpaceBounds")]
|
|
public static partial AABox Body_GetWorldSpaceBounds(Body self);
|
|
|
|
/// <inheritdoc cref="Body.GetMotionProperties()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetMotionProperties")]
|
|
public static partial MotionProperties Body_GetMotionProperties(Body self);
|
|
|
|
/// <inheritdoc cref="Body.GetMotionPropertiesUnchecked()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetMotionPropertiesUnchecked")]
|
|
public static partial MotionProperties Body_GetMotionPropertiesUnchecked(Body self);
|
|
|
|
/// <inheritdoc cref="Body.GetUserData()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetUserData")]
|
|
public static partial ulong Body_GetUserData(Body self);
|
|
|
|
/// <inheritdoc cref="Body.SetUserData(ulong)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_SetUserData")]
|
|
public static partial void Body_SetUserData(Body self, ulong userData);
|
|
|
|
/// <inheritdoc cref="Body.GetWorldSpaceSurfaceNormal(uint, float3)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetWorldSpaceSurfaceNormal")]
|
|
public static partial float3 Body_GetWorldSpaceSurfaceNormal(Body self, uint subShapeID, float3 position);
|
|
|
|
/// <inheritdoc cref="Body.GetTransformedShape()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetTransformedShape")]
|
|
public static partial TransformedShape Body_GetTransformedShape(Body self);
|
|
|
|
/// <inheritdoc cref="Body.GetBodyCreationSettings()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetBodyCreationSettings")]
|
|
public static partial BodyCreationSettings Body_GetBodyCreationSettings(Body self);
|
|
|
|
/// <inheritdoc cref="Body.ApplyBodyCreationSettings(BodyCreationSettings, BroadPhaseLayerInterface)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_ApplyBodyCreationSettings")]
|
|
public static partial void Body_ApplyBodyCreationSettings(
|
|
Body self,
|
|
BodyCreationSettings bodyCreationSettings,
|
|
BroadPhaseLayerInterface bPLInterface
|
|
);
|
|
|
|
/// <inheritdoc cref="Body.GetSoftBodyCreationSettings()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetSoftBodyCreationSettings")]
|
|
public static partial SoftBodyCreationSettings Body_GetSoftBodyCreationSettings(Body self);
|
|
|
|
/// <inheritdoc cref="Body.ApplySoftBodyCreationSettings(SoftBodyCreationSettings, BroadPhaseLayerInterface)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_ApplySoftBodyCreationSettings")]
|
|
public static partial void Body_ApplySoftBodyCreationSettings(
|
|
Body self,
|
|
SoftBodyCreationSettings softBodyCreationSettings,
|
|
BroadPhaseLayerInterface bPLInterface
|
|
);
|
|
|
|
/// <inheritdoc cref="Body.FindCollidingPairsCanCollide(Body, Body)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_FindCollidingPairsCanCollide")]
|
|
public static partial Brutal.Bool8 Body_FindCollidingPairsCanCollide(Body body1, Body body2);
|
|
|
|
/// <inheritdoc cref="Body.AddPositionStep(float3)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_AddPositionStep")]
|
|
public static partial void Body_AddPositionStep(Body self, float3 linearVelocityTimesDeltaTime);
|
|
|
|
/// <inheritdoc cref="Body.SubPositionStep(float3)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_SubPositionStep")]
|
|
public static partial void Body_SubPositionStep(Body self, float3 linearVelocityTimesDeltaTime);
|
|
|
|
/// <inheritdoc cref="Body.AddRotationStep(float3)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_AddRotationStep")]
|
|
public static partial void Body_AddRotationStep(Body self, float3 angularVelocityTimesDeltaTime);
|
|
|
|
/// <inheritdoc cref="Body.SubRotationStep(float3)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_SubRotationStep")]
|
|
public static partial void Body_SubRotationStep(Body self, float3 angularVelocityTimesDeltaTime);
|
|
|
|
/// <inheritdoc cref="Body.SetObjectLayerInternal(ushort, BroadPhaseLayerInterface)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_SetObjectLayerInternal")]
|
|
public static partial void Body_SetObjectLayerInternal(
|
|
Body self,
|
|
ushort layer,
|
|
BroadPhaseLayerInterface bPLInterface
|
|
);
|
|
|
|
/// <inheritdoc cref="Body.SetInBroadPhaseInternal(bool)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_SetInBroadPhaseInternal")]
|
|
public static partial void Body_SetInBroadPhaseInternal(Body self, Brutal.Bool8 inBroadPhase);
|
|
|
|
/// <inheritdoc cref="Body.InvalidateContactCacheInternal()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_InvalidateContactCacheInternal")]
|
|
public static partial Brutal.Bool8 Body_InvalidateContactCacheInternal(Body self);
|
|
|
|
/// <inheritdoc cref="Body.ValidateContactCacheInternal()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_ValidateContactCacheInternal")]
|
|
public static partial void Body_ValidateContactCacheInternal(Body self);
|
|
|
|
/// <inheritdoc cref="Body.CalculateWorldSpaceBoundsInternal()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_CalculateWorldSpaceBoundsInternal")]
|
|
public static partial void Body_CalculateWorldSpaceBoundsInternal(Body self);
|
|
|
|
/// <inheritdoc cref="Body.SetPositionAndRotationInternal(float3, floatQuat, bool)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_SetPositionAndRotationInternal")]
|
|
public static partial void Body_SetPositionAndRotationInternal(
|
|
Body self,
|
|
float3 position,
|
|
floatQuat rotation,
|
|
Brutal.Bool8 resetSleepTimer
|
|
);
|
|
|
|
/// <inheritdoc cref="Body.UpdateCenterOfMassInternal(float3, bool)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_UpdateCenterOfMassInternal")]
|
|
public static partial void Body_UpdateCenterOfMassInternal(
|
|
Body self,
|
|
float3 previousCenterOfMass,
|
|
Brutal.Bool8 updateMassProperties
|
|
);
|
|
|
|
/// <inheritdoc cref="Body.SetShapeInternal(Shape, bool)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_SetShapeInternal")]
|
|
public static partial void Body_SetShapeInternal(Body self, Shape shape, Brutal.Bool8 updateMassProperties);
|
|
|
|
/// <inheritdoc cref="Body.GetIndexInActiveBodiesInternal()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetIndexInActiveBodiesInternal")]
|
|
public static partial uint Body_GetIndexInActiveBodiesInternal(Body self);
|
|
|
|
/// <inheritdoc cref="Body.UpdateSleepStateInternal(float, float, float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_UpdateSleepStateInternal")]
|
|
public static partial CanSleep Body_UpdateSleepStateInternal(
|
|
Body self,
|
|
float deltaTime,
|
|
float maxMovement,
|
|
float timeBeforeSleep
|
|
);
|
|
|
|
/// <inheritdoc cref="Body.GetFixedToWorld()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetFixedToWorld")]
|
|
public static partial Body Body_GetFixedToWorld();
|
|
|
|
/// <inheritdoc cref="Body.GetInactiveIndex()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Body_GetInactiveIndex")]
|
|
public static partial uint Body_GetInactiveIndex();
|
|
}
|
|
}
|
|
}
|