// // 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 { /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:34 ///
/// EMotionQuality GetMotionQuality() const ///
///
/// /// /// Motion quality, or how well it detects collisions when it has a high velocity /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_GetMotionQuality")] public static partial EMotionQuality MotionProperties_GetMotionQuality(MotionProperties self); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:37 ///
/// inline EAllowedDOFs GetAllowedDOFs() const ///
///
/// /// /// Get the allowed degrees of freedom that this body has (this can be changed by calling /// SetMassProperties) /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_GetAllowedDOFs")] public static partial EAllowedDOFs MotionProperties_GetAllowedDOFs(MotionProperties self); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:40 ///
/// inline bool GetAllowSleeping() const ///
///
/// /// /// If this body can go to sleep. /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_GetAllowSleeping")] public static partial Brutal.Bool8 MotionProperties_GetAllowSleeping(MotionProperties self); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:43 ///
/// inline Vec3 GetLinearVelocity() const ///
///
/// /// /// Get world space linear velocity of the center of mass /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_GetLinearVelocity")] public static partial float3 MotionProperties_GetLinearVelocity(MotionProperties self); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:46 ///
/// void SetLinearVelocity(Vec3Arg inLinearVelocity) ///
///
/// /// /// Set world space linear velocity of the center of mass /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_SetLinearVelocity")] public static partial void MotionProperties_SetLinearVelocity(MotionProperties self, float3 linearVelocity); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:49 ///
/// void SetLinearVelocityClamped(Vec3Arg inLinearVelocity) ///
///
/// /// /// Set world space linear velocity of the center of mass, will make sure the value is clamped against /// the maximum linear velocity /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_SetLinearVelocityClamped")] public static partial void MotionProperties_SetLinearVelocityClamped(MotionProperties self, float3 linearVelocity); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:52 ///
/// inline Vec3 GetAngularVelocity() const ///
///
/// /// /// Get world space angular velocity of the center of mass /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_GetAngularVelocity")] public static partial float3 MotionProperties_GetAngularVelocity(MotionProperties self); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:55 ///
/// void SetAngularVelocity(Vec3Arg inAngularVelocity) ///
///
/// /// /// Set world space angular velocity of the center of mass /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_SetAngularVelocity")] public static partial void MotionProperties_SetAngularVelocity(MotionProperties self, float3 angularVelocity); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:58 ///
/// void SetAngularVelocityClamped(Vec3Arg inAngularVelocity) ///
///
/// /// /// Set world space angular velocity of the center of mass, will make sure the value is clamped against /// the maximum angular velocity /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_SetAngularVelocityClamped")] public static partial void MotionProperties_SetAngularVelocityClamped(MotionProperties self, float3 angularVelocity); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:61 ///
/// inline void MoveKinematic(Vec3Arg inDeltaPosition, QuatArg inDeltaRotation, float inDeltaTime) ///
///
/// /// /// Set velocity of body such that it will be rotate/translate by inDeltaPosition/Rotation in /// inDeltaTime seconds. /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_MoveKinematic")] public static partial void MotionProperties_MoveKinematic(MotionProperties self, float3 deltaPosition, floatQuat deltaRotation, float deltaTime); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:67 ///
/// inline float GetMaxLinearVelocity() const ///
///
/// /// /// Maximum linear velocity that a body can achieve. Used to prevent the system from exploding. /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_GetMaxLinearVelocity")] public static partial float MotionProperties_GetMaxLinearVelocity(MotionProperties self); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:68 ///
/// inline void SetMaxLinearVelocity(float inLinearVelocity) ///
///
[LibraryImport("jolt", EntryPoint = "MotionProperties_SetMaxLinearVelocity")] public static partial void MotionProperties_SetMaxLinearVelocity(MotionProperties self, float linearVelocity); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:71 ///
/// inline float GetMaxAngularVelocity() const ///
///
/// /// /// Maximum angular velocity that a body can achieve. Used to prevent the system from exploding. /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_GetMaxAngularVelocity")] public static partial float MotionProperties_GetMaxAngularVelocity(MotionProperties self); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:72 ///
/// inline void SetMaxAngularVelocity(float inAngularVelocity) ///
///
[LibraryImport("jolt", EntryPoint = "MotionProperties_SetMaxAngularVelocity")] public static partial void MotionProperties_SetMaxAngularVelocity(MotionProperties self, float angularVelocity); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:76 ///
/// inline void ClampLinearVelocity() ///
///
/// /// /// Clamp velocity according to limit /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_ClampLinearVelocity")] public static partial void MotionProperties_ClampLinearVelocity(MotionProperties self); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:77 ///
/// inline void ClampAngularVelocity() ///
///
[LibraryImport("jolt", EntryPoint = "MotionProperties_ClampAngularVelocity")] public static partial void MotionProperties_ClampAngularVelocity(MotionProperties self); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:80 ///
/// inline float GetLinearDamping() const ///
///
/// /// /// Get linear damping: dv/dt = -c * v. c. Value should be zero or positive and is usually close to 0. /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_GetLinearDamping")] public static partial float MotionProperties_GetLinearDamping(MotionProperties self); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:81 ///
/// void SetLinearDamping(float inLinearDamping) ///
///
[LibraryImport("jolt", EntryPoint = "MotionProperties_SetLinearDamping")] public static partial void MotionProperties_SetLinearDamping(MotionProperties self, float linearDamping); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:84 ///
/// inline float GetAngularDamping() const ///
///
/// /// /// Get angular damping: dw/dt = -c * w. c. Value should be zero or positive and is usually close to 0. /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_GetAngularDamping")] public static partial float MotionProperties_GetAngularDamping(MotionProperties self); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:85 ///
/// void SetAngularDamping(float inAngularDamping) ///
///
[LibraryImport("jolt", EntryPoint = "MotionProperties_SetAngularDamping")] public static partial void MotionProperties_SetAngularDamping(MotionProperties self, float angularDamping); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:88 ///
/// inline float GetGravityFactor() const ///
///
/// /// /// Get gravity factor (1 = normal gravity, 0 = no gravity) /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_GetGravityFactor")] public static partial float MotionProperties_GetGravityFactor(MotionProperties self); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:89 ///
/// void SetGravityFactor(float inGravityFactor) ///
///
[LibraryImport("jolt", EntryPoint = "MotionProperties_SetGravityFactor")] public static partial void MotionProperties_SetGravityFactor(MotionProperties self, float gravityFactor); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:92 ///
/// void SetMassProperties(EAllowedDOFs inAllowedDOFs, const MassProperties &inMassProperties) ///
///
/// /// /// Set the mass and inertia tensor /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_SetMassProperties")] public static partial void MotionProperties_SetMassProperties(MotionProperties self, EAllowedDOFs allowedDOFs, MassProperties massProperties); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:95 ///
/// inline float GetInverseMass() const ///
///
/// /// /// Get inverse mass (1 / mass). Should only be called on a dynamic object (static or kinematic bodies /// have infinite mass so should be treated as 1 / mass = 0) /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_GetInverseMass")] public static partial float MotionProperties_GetInverseMass(MotionProperties self); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:96 ///
/// inline float GetInverseMassUnchecked() const ///
///
[LibraryImport("jolt", EntryPoint = "MotionProperties_GetInverseMassUnchecked")] public static partial float MotionProperties_GetInverseMassUnchecked(MotionProperties self); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:102 ///
/// void SetInverseMass(float inInverseMass) ///
///
/// /// /// Set the inverse mass (1 / mass). /// Note that mass and inertia are linearly related (e.g. inertia of a sphere with mass m and radius r is \f$2/5 \: m \: r^2\f$). /// If you change mass, inertia should probably change as well. You can use ScaleToMass to update mass and inertia at the same time. /// If all your translation degrees of freedom are restricted, make sure this is zero (see EAllowedDOFs). /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_SetInverseMass")] public static partial void MotionProperties_SetInverseMass(MotionProperties self, float inverseMass); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:105 ///
/// inline Vec3 GetInverseInertiaDiagonal() const ///
///
/// /// /// Diagonal of inverse inertia matrix: D. Should only be called on a dynamic object (static or /// kinematic bodies have infinite mass so should be treated as D = 0) /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_GetInverseInertiaDiagonal")] public static partial float3 MotionProperties_GetInverseInertiaDiagonal(MotionProperties self); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:108 ///
/// inline Quat GetInertiaRotation() const ///
///
/// /// /// Rotation (R) that takes inverse inertia diagonal to local space: \f$I_{body}^{-1} = R \: D \: /// R^{-1}\f$ /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_GetInertiaRotation")] public static partial floatQuat MotionProperties_GetInertiaRotation(MotionProperties self); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:114 ///
/// void SetInverseInertia(Vec3Arg inDiagonal, QuatArg inRot) ///
///
/// /// /// Set the inverse inertia tensor in local space by setting the diagonal and the rotation: \f$I_{body}^{-1} = R \: D \: R^{-1}\f$. /// Note that mass and inertia are linearly related (e.g. inertia of a sphere with mass m and radius r is \f$2/5 \: m \: r^2\f$). /// If you change inertia, mass should probably change as well. You can use ScaleToMass to update mass and inertia at the same time. /// If all your rotation degrees of freedom are restricted, make sure this is zero (see EAllowedDOFs). /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_SetInverseInertia")] public static partial void MotionProperties_SetInverseInertia(MotionProperties self, float3 diagonal, floatQuat rot); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:118 ///
/// void ScaleToMass(float inMass) ///
///
/// /// /// Sets the mass to inMass and scale the inertia tensor based on the ratio between the old and new mass. /// Note that this only works when the current mass is finite (i.e. the body is dynamic and translational degrees of freedom are not restricted). /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_ScaleToMass")] public static partial void MotionProperties_ScaleToMass(MotionProperties self, float mass); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:121 ///
/// inline Mat44 GetLocalSpaceInverseInertia() const ///
///
/// /// /// Get inverse inertia matrix (\f$I_{body}^{-1}\f$). Will be a matrix of zeros for a static or /// kinematic object. /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_GetLocalSpaceInverseInertia")] public static partial float4x4 MotionProperties_GetLocalSpaceInverseInertia(MotionProperties self); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:124 ///
/// inline Mat44 GetLocalSpaceInverseInertiaUnchecked() const ///
///
/// /// /// Same as GetLocalSpaceInverseInertia() but doesn't check if the body is dynamic /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_GetLocalSpaceInverseInertiaUnchecked")] public static partial float4x4 MotionProperties_GetLocalSpaceInverseInertiaUnchecked(MotionProperties self); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:127 ///
/// inline Mat44 GetInverseInertiaForRotation(Mat44Arg inRotation) const ///
///
/// /// /// Get inverse inertia matrix (\f$I^{-1}\f$) for a given object rotation (translation will be ignored). /// Zero if object is static or kinematic. /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_GetInverseInertiaForRotation")] public static partial float4x4 MotionProperties_GetInverseInertiaForRotation(MotionProperties self, float4x4 rotation); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:130 ///
/// Vec3 MultiplyWorldSpaceInverseInertiaByVector(QuatArg inBodyRotation, Vec3Arg inV) const ///
///
/// /// /// Multiply a vector with the inverse world space inertia tensor (\f$I_{world}^{-1}\f$). Zero if object /// is static or kinematic. /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_MultiplyWorldSpaceInverseInertiaByVector")] public static partial float3 MotionProperties_MultiplyWorldSpaceInverseInertiaByVector(MotionProperties self, floatQuat bodyRotation, float3 v); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:133 ///
/// Vec3 GetPointVelocityCOM(Vec3Arg inPointRelativeToCOM) const ///
///
/// /// /// Velocity of point inPoint (in center of mass space, e.g. on the surface of the body) of the body /// (unit: m/s) /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_GetPointVelocityCOM")] public static partial float3 MotionProperties_GetPointVelocityCOM(MotionProperties self, float3 pointRelativeToCOM); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:136 ///
/// Vec3 GetAccumulatedForce() const ///
///
/// /// /// Get the total amount of force applied to the center of mass this time step (through Body::AddForce /// calls). Note that it will reset to zero after PhysicsSystem::Update. /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_GetAccumulatedForce")] public static partial float3 MotionProperties_GetAccumulatedForce(MotionProperties self); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:139 ///
/// Vec3 GetAccumulatedTorque() const ///
///
/// /// /// Get the total amount of torque applied to the center of mass this time step (through /// Body::AddForce/Body::AddTorque calls). Note that it will reset to zero after PhysicsSystem::Update. /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_GetAccumulatedTorque")] public static partial float3 MotionProperties_GetAccumulatedTorque(MotionProperties self); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:142 ///
/// void ResetForce() ///
///
/// /// /// Reset the total accumulated force, note that this will be done automatically after every time step. /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_ResetForce")] public static partial void MotionProperties_ResetForce(MotionProperties self); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:145 ///
/// void ResetTorque() ///
///
/// /// /// Reset the total accumulated torque, note that this will be done automatically after every time step. /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_ResetTorque")] public static partial void MotionProperties_ResetTorque(MotionProperties self); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:148 ///
/// void ResetMotion() ///
///
/// /// /// Reset the current velocity and accumulated force and torque. /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_ResetMotion")] public static partial void MotionProperties_ResetMotion(MotionProperties self); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:163 ///
/// Vec3 LockTranslation(Vec3Arg inV) const ///
///
/// /// /// Takes a translation vector inV and returns a vector where the components that are not allowed by /// mAllowedDOFs are set to 0 /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_LockTranslation")] public static partial float3 MotionProperties_LockTranslation(MotionProperties self, float3 v); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:176 ///
/// Vec3 LockAngular(Vec3Arg inV) const ///
///
/// /// /// Takes an angular velocity / torque vector inV and returns a vector where the components that are not /// allowed by mAllowedDOFs are set to 0 /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_LockAngular")] public static partial float3 MotionProperties_LockAngular(MotionProperties self, float3 v); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:182 ///
/// void SetNumVelocityStepsOverride(uint inN) ///
///
/// /// /// Used only when this body is dynamic and colliding. Override for the number of solver velocity /// iterations to run, 0 means use the default in PhysicsSettings::mNumVelocitySteps. The number of /// iterations to use is the max of all contacts and constraints in the island. /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_SetNumVelocityStepsOverride")] public static partial void MotionProperties_SetNumVelocityStepsOverride(MotionProperties self, uint n); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:183 ///
/// uint GetNumVelocityStepsOverride() const ///
///
[LibraryImport("jolt", EntryPoint = "MotionProperties_GetNumVelocityStepsOverride")] public static partial uint MotionProperties_GetNumVelocityStepsOverride(MotionProperties self); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:186 ///
/// void SetNumPositionStepsOverride(uint inN) ///
///
/// /// /// Used only when this body is dynamic and colliding. Override for the number of solver position /// iterations to run, 0 means use the default in PhysicsSettings::mNumPositionSteps. The number of /// iterations to use is the max of all contacts and constraints in the island. /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_SetNumPositionStepsOverride")] public static partial void MotionProperties_SetNumPositionStepsOverride(MotionProperties self, uint n); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:187 ///
/// uint GetNumPositionStepsOverride() const ///
///
[LibraryImport("jolt", EntryPoint = "MotionProperties_GetNumPositionStepsOverride")] public static partial uint MotionProperties_GetNumPositionStepsOverride(MotionProperties self); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:217 ///
/// inline void AddLinearVelocityStep(Vec3Arg inLinearVelocityChange) ///
///
/// /// /// @name Update linear and angular velocity (used during constraint solving) /// @{ /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_AddLinearVelocityStep")] public static partial void MotionProperties_AddLinearVelocityStep(MotionProperties self, float3 linearVelocityChange); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:218 ///
/// inline void SubLinearVelocityStep(Vec3Arg inLinearVelocityChange) ///
///
[LibraryImport("jolt", EntryPoint = "MotionProperties_SubLinearVelocityStep")] public static partial void MotionProperties_SubLinearVelocityStep(MotionProperties self, float3 linearVelocityChange); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:219 ///
/// inline void AddAngularVelocityStep(Vec3Arg inAngularVelocityChange) ///
///
[LibraryImport("jolt", EntryPoint = "MotionProperties_AddAngularVelocityStep")] public static partial void MotionProperties_AddAngularVelocityStep(MotionProperties self, float3 angularVelocityChange); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:220 ///
/// inline void SubAngularVelocityStep(Vec3Arg inAngularVelocityChange) ///
///
[LibraryImport("jolt", EntryPoint = "MotionProperties_SubAngularVelocityStep")] public static partial void MotionProperties_SubAngularVelocityStep(MotionProperties self, float3 angularVelocityChange); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:224 ///
/// inline void ApplyGyroscopicForceInternal(QuatArg inBodyRotation, float inDeltaTime) ///
///
/// /// /// Apply the gyroscopic force (aka Dzhanibekov effect, see /// https://en.wikipedia.org/wiki/Tennis_racket_theorem) /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_ApplyGyroscopicForceInternal")] public static partial void MotionProperties_ApplyGyroscopicForceInternal(MotionProperties self, floatQuat bodyRotation, float deltaTime); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:227 ///
/// inline void ApplyForceTorqueAndDragInternal(QuatArg inBodyRotation, Vec3Arg inGravity, float inDeltaTime) ///
///
/// /// /// Apply all accumulated forces, torques and drag (should only be called by the PhysicsSystem) /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_ApplyForceTorqueAndDragInternal")] public static partial void MotionProperties_ApplyForceTorqueAndDragInternal(MotionProperties self, floatQuat bodyRotation, float3 gravity, float deltaTime); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:230 ///
/// uint32 GetIslandIndexInternal() const ///
///
/// /// /// Access to the island index /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_GetIslandIndexInternal")] public static partial uint MotionProperties_GetIslandIndexInternal(MotionProperties self); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:231 ///
/// void SetIslandIndexInternal(uint32 inIndex) ///
///
[LibraryImport("jolt", EntryPoint = "MotionProperties_SetIslandIndexInternal")] public static partial void MotionProperties_SetIslandIndexInternal(MotionProperties self, uint index); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:234 ///
/// uint32 GetIndexInActiveBodiesInternal() const ///
///
/// /// /// Access to the index in the active bodies array /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_GetIndexInActiveBodiesInternal")] public static partial uint MotionProperties_GetIndexInActiveBodiesInternal(MotionProperties self); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:244 ///
/// inline void ResetSleepTestTimer() ///
///
/// /// /// Reset the sleep test timer without resetting the sleep test spheres /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_ResetSleepTestTimer")] public static partial void MotionProperties_ResetSleepTestTimer(MotionProperties self); /// /// /// C++: /// Jolt/Physics/Body/MotionProperties.h:247 ///
/// inline ECanSleep AccumulateSleepTime(float inDeltaTime, float inTimeBeforeSleep) ///
///
/// /// /// Accumulate sleep time and return if a body can go to sleep /// /// [LibraryImport("jolt", EntryPoint = "MotionProperties_AccumulateSleepTime")] public static partial ECanSleep MotionProperties_AccumulateSleepTime(MotionProperties self, float deltaTime, float timeBeforeSleep); } } }