// // 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 { [LibraryImport("jolt", EntryPoint = "SoftBodyUpdateContext_Create")] public static partial SoftBodyUpdateContext SoftBodyUpdateContext_Create(); [LibraryImport("jolt", EntryPoint = "SoftBodyUpdateContext_Destroy")] public static partial void SoftBodyUpdateContext_Destroy(SoftBodyUpdateContext self); /// /// /// Body that is being updated /// /// /// C++: /// Jolt/Physics/SoftBody/SoftBodyUpdateContext.h:28 ///
/// Body * mBody ///
///
/// /// /// Input /// /// /// The returned handle is borrowed from its owner; don't Dispose it. /// /// [LibraryImport("jolt", EntryPoint = "SoftBodyUpdateContext_GetBody")] public static partial Body SoftBodyUpdateContext_GetBody(SoftBodyUpdateContext self); /// /// /// Body that is being updated /// /// /// C++: /// Jolt/Physics/SoftBody/SoftBodyUpdateContext.h:28 ///
/// Body * mBody ///
///
/// /// /// Input /// /// [LibraryImport("jolt", EntryPoint = "SoftBodyUpdateContext_SetBody")] public static partial void SoftBodyUpdateContext_SetBody(SoftBodyUpdateContext self, Body value); /// /// /// Motion properties of that body /// /// /// C++: /// Jolt/Physics/SoftBody/SoftBodyUpdateContext.h:29 ///
/// SoftBodyMotionProperties * mMotionProperties ///
///
/// /// /// The returned handle is borrowed from its owner; don't Dispose it. /// /// [LibraryImport("jolt", EntryPoint = "SoftBodyUpdateContext_GetMotionProperties")] public static partial SoftBodyMotionProperties SoftBodyUpdateContext_GetMotionProperties(SoftBodyUpdateContext self); /// /// /// Motion properties of that body /// /// /// C++: /// Jolt/Physics/SoftBody/SoftBodyUpdateContext.h:29 ///
/// SoftBodyMotionProperties * mMotionProperties ///
///
[LibraryImport("jolt", EntryPoint = "SoftBodyUpdateContext_SetMotionProperties")] public static partial void SoftBodyUpdateContext_SetMotionProperties(SoftBodyUpdateContext self, SoftBodyMotionProperties value); /// /// /// Contact listener to fire callbacks to /// /// /// C++: /// Jolt/Physics/SoftBody/SoftBodyUpdateContext.h:30 ///
/// SoftBodyContactListener * mContactListener ///
///
/// /// /// The returned handle is borrowed from its owner; don't Dispose it. /// /// [LibraryImport("jolt", EntryPoint = "SoftBodyUpdateContext_GetContactListener")] public static partial SoftBodyContactListener SoftBodyUpdateContext_GetContactListener(SoftBodyUpdateContext self); /// /// /// Contact listener to fire callbacks to /// /// /// C++: /// Jolt/Physics/SoftBody/SoftBodyUpdateContext.h:30 ///
/// SoftBodyContactListener * mContactListener ///
///
[LibraryImport("jolt", EntryPoint = "SoftBodyUpdateContext_SetContactListener")] public static partial void SoftBodyUpdateContext_SetContactListener(SoftBodyUpdateContext self, SoftBodyContactListener value); /// /// /// Shape filter to use for collision detection /// /// /// C++: /// Jolt/Physics/SoftBody/SoftBodyUpdateContext.h:31 ///
/// const SimShapeFilter * mSimShapeFilter ///
///
/// /// /// The returned handle is borrowed from its owner; don't Dispose it. /// /// [LibraryImport("jolt", EntryPoint = "SoftBodyUpdateContext_GetSimShapeFilter")] public static partial SimShapeFilter SoftBodyUpdateContext_GetSimShapeFilter(SoftBodyUpdateContext self); /// /// /// Shape filter to use for collision detection /// /// /// C++: /// Jolt/Physics/SoftBody/SoftBodyUpdateContext.h:31 ///
/// const SimShapeFilter * mSimShapeFilter ///
///
[LibraryImport("jolt", EntryPoint = "SoftBodyUpdateContext_SetSimShapeFilter")] public static partial void SoftBodyUpdateContext_SetSimShapeFilter(SoftBodyUpdateContext self, SimShapeFilter value); /// /// /// Transform of the body relative to the soft body /// /// /// C++: /// Jolt/Physics/SoftBody/SoftBodyUpdateContext.h:32 ///
/// RMat44 mCenterOfMassTransform ///
///
[LibraryImport("jolt", EntryPoint = "SoftBodyUpdateContext_GetCenterOfMassTransform")] public static partial float4x4 SoftBodyUpdateContext_GetCenterOfMassTransform(SoftBodyUpdateContext self); /// /// /// Transform of the body relative to the soft body /// /// /// C++: /// Jolt/Physics/SoftBody/SoftBodyUpdateContext.h:32 ///
/// RMat44 mCenterOfMassTransform ///
///
[LibraryImport("jolt", EntryPoint = "SoftBodyUpdateContext_SetCenterOfMassTransform")] public static partial void SoftBodyUpdateContext_SetCenterOfMassTransform(SoftBodyUpdateContext self, float4x4 value); /// /// /// Gravity vector in local space of the soft body /// /// /// C++: /// Jolt/Physics/SoftBody/SoftBodyUpdateContext.h:33 ///
/// Vec3 mGravity ///
///
[LibraryImport("jolt", EntryPoint = "SoftBodyUpdateContext_GetGravity")] public static partial float3 SoftBodyUpdateContext_GetGravity(SoftBodyUpdateContext self); /// /// /// Gravity vector in local space of the soft body /// /// /// C++: /// Jolt/Physics/SoftBody/SoftBodyUpdateContext.h:33 ///
/// Vec3 mGravity ///
///
[LibraryImport("jolt", EntryPoint = "SoftBodyUpdateContext_SetGravity")] public static partial void SoftBodyUpdateContext_SetGravity(SoftBodyUpdateContext self, float3 value); /// /// /// Displacement of the center of mass due to gravity in the current time step /// /// /// C++: /// Jolt/Physics/SoftBody/SoftBodyUpdateContext.h:34 ///
/// Vec3 mDisplacementDueToGravity ///
///
[LibraryImport("jolt", EntryPoint = "SoftBodyUpdateContext_GetDisplacementDueToGravity")] public static partial float3 SoftBodyUpdateContext_GetDisplacementDueToGravity(SoftBodyUpdateContext self); /// /// /// Displacement of the center of mass due to gravity in the current time step /// /// /// C++: /// Jolt/Physics/SoftBody/SoftBodyUpdateContext.h:34 ///
/// Vec3 mDisplacementDueToGravity ///
///
[LibraryImport("jolt", EntryPoint = "SoftBodyUpdateContext_SetDisplacementDueToGravity")] public static partial void SoftBodyUpdateContext_SetDisplacementDueToGravity(SoftBodyUpdateContext self, float3 value); /// /// /// Delta time for the current time step /// /// /// C++: /// Jolt/Physics/SoftBody/SoftBodyUpdateContext.h:35 ///
/// float mDeltaTime ///
///
[LibraryImport("jolt", EntryPoint = "SoftBodyUpdateContext_GetDeltaTime")] public static partial float SoftBodyUpdateContext_GetDeltaTime(SoftBodyUpdateContext self); /// /// /// Delta time for the current time step /// /// /// C++: /// Jolt/Physics/SoftBody/SoftBodyUpdateContext.h:35 ///
/// float mDeltaTime ///
///
[LibraryImport("jolt", EntryPoint = "SoftBodyUpdateContext_SetDeltaTime")] public static partial void SoftBodyUpdateContext_SetDeltaTime(SoftBodyUpdateContext self, float value); /// /// /// Delta time for each sub step /// /// /// C++: /// Jolt/Physics/SoftBody/SoftBodyUpdateContext.h:36 ///
/// float mSubStepDeltaTime ///
///
[LibraryImport("jolt", EntryPoint = "SoftBodyUpdateContext_GetSubStepDeltaTime")] public static partial float SoftBodyUpdateContext_GetSubStepDeltaTime(SoftBodyUpdateContext self); /// /// /// Delta time for each sub step /// /// /// C++: /// Jolt/Physics/SoftBody/SoftBodyUpdateContext.h:36 ///
/// float mSubStepDeltaTime ///
///
[LibraryImport("jolt", EntryPoint = "SoftBodyUpdateContext_SetSubStepDeltaTime")] public static partial void SoftBodyUpdateContext_SetSubStepDeltaTime(SoftBodyUpdateContext self, float value); /// /// /// Delta position of the body in the current time step, should be applied after the update /// /// /// C++: /// Jolt/Physics/SoftBody/SoftBodyUpdateContext.h:58 ///
/// Vec3 mDeltaPosition ///
///
/// /// /// Output /// /// [LibraryImport("jolt", EntryPoint = "SoftBodyUpdateContext_GetDeltaPosition")] public static partial float3 SoftBodyUpdateContext_GetDeltaPosition(SoftBodyUpdateContext self); /// /// /// Delta position of the body in the current time step, should be applied after the update /// /// /// C++: /// Jolt/Physics/SoftBody/SoftBodyUpdateContext.h:58 ///
/// Vec3 mDeltaPosition ///
///
/// /// /// Output /// /// [LibraryImport("jolt", EntryPoint = "SoftBodyUpdateContext_SetDeltaPosition")] public static partial void SoftBodyUpdateContext_SetDeltaPosition(SoftBodyUpdateContext self, float3 value); /// /// /// Can the body sleep? Should be applied after the update /// /// /// C++: /// Jolt/Physics/SoftBody/SoftBodyUpdateContext.h:59 ///
/// ECanSleep mCanSleep ///
///
[LibraryImport("jolt", EntryPoint = "SoftBodyUpdateContext_GetCanSleep")] public static partial ECanSleep SoftBodyUpdateContext_GetCanSleep(SoftBodyUpdateContext self); /// /// /// Can the body sleep? Should be applied after the update /// /// /// C++: /// Jolt/Physics/SoftBody/SoftBodyUpdateContext.h:59 ///
/// ECanSleep mCanSleep ///
///
[LibraryImport("jolt", EntryPoint = "SoftBodyUpdateContext_SetCanSleep")] public static partial void SoftBodyUpdateContext_SetCanSleep(SoftBodyUpdateContext self, ECanSleep value); } } }