mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 21:18:24 +01:00
504 lines
33 KiB
C#
504 lines
33 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
|
|
{
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_Create")]
|
|
public static partial SoftBodyMotionProperties SoftBodyMotionProperties_Create();
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_Destroy")]
|
|
public static partial void SoftBodyMotionProperties_Destroy(SoftBodyMotionProperties self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyMotionProperties.h#L50">Jolt/Physics/SoftBody/SoftBodyMotionProperties.h:50</see>
|
|
/// <br/>
|
|
/// <c>void Initialize(const SoftBodyCreationSettings &inSettings)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Initialize the soft body motion properties
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_Initialize")]
|
|
public static partial void SoftBodyMotionProperties_Initialize(SoftBodyMotionProperties self, SoftBodyCreationSettings settings);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyMotionProperties.h#L53">Jolt/Physics/SoftBody/SoftBodyMotionProperties.h:53</see>
|
|
/// <br/>
|
|
/// <c>const SoftBodySharedSettings * GetSettings() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Get the shared settings of the soft body
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_GetSettings")]
|
|
public static partial SoftBodySharedSettings SoftBodyMotionProperties_GetSettings(SoftBodyMotionProperties self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyMotionProperties.h#L64">Jolt/Physics/SoftBody/SoftBodyMotionProperties.h:64</see>
|
|
/// <br/>
|
|
/// <c>Quat GetRodRotation(uint inIndex) const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Access to the state of rods
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_GetRodRotation")]
|
|
public static partial floatQuat SoftBodyMotionProperties_GetRodRotation(SoftBodyMotionProperties self, uint index);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyMotionProperties.h#L65">Jolt/Physics/SoftBody/SoftBodyMotionProperties.h:65</see>
|
|
/// <br/>
|
|
/// <c>Vec3 GetRodAngularVelocity(uint inIndex) const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_GetRodAngularVelocity")]
|
|
public static partial float3 SoftBodyMotionProperties_GetRodAngularVelocity(SoftBodyMotionProperties self, uint index);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyMotionProperties.h#L77">Jolt/Physics/SoftBody/SoftBodyMotionProperties.h:77</see>
|
|
/// <br/>
|
|
/// <c>uint32 GetNumIterations() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Get the number of solver iterations
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_GetNumIterations")]
|
|
public static partial uint SoftBodyMotionProperties_GetNumIterations(SoftBodyMotionProperties self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyMotionProperties.h#L78">Jolt/Physics/SoftBody/SoftBodyMotionProperties.h:78</see>
|
|
/// <br/>
|
|
/// <c>void SetNumIterations(uint32 inNumIterations)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_SetNumIterations")]
|
|
public static partial void SoftBodyMotionProperties_SetNumIterations(SoftBodyMotionProperties self, uint numIterations);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyMotionProperties.h#L81">Jolt/Physics/SoftBody/SoftBodyMotionProperties.h:81</see>
|
|
/// <br/>
|
|
/// <c>float GetPressure() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Get the pressure of the soft body
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_GetPressure")]
|
|
public static partial float SoftBodyMotionProperties_GetPressure(SoftBodyMotionProperties self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyMotionProperties.h#L82">Jolt/Physics/SoftBody/SoftBodyMotionProperties.h:82</see>
|
|
/// <br/>
|
|
/// <c>void SetPressure(float inPressure)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_SetPressure")]
|
|
public static partial void SoftBodyMotionProperties_SetPressure(SoftBodyMotionProperties self, float pressure);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyMotionProperties.h#L85">Jolt/Physics/SoftBody/SoftBodyMotionProperties.h:85</see>
|
|
/// <br/>
|
|
/// <c>bool GetUpdatePosition() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Update the position of the body while simulating (set to false for something that is attached to the
|
|
/// static world)
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_GetUpdatePosition")]
|
|
public static partial Brutal.Bool8 SoftBodyMotionProperties_GetUpdatePosition(SoftBodyMotionProperties self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyMotionProperties.h#L86">Jolt/Physics/SoftBody/SoftBodyMotionProperties.h:86</see>
|
|
/// <br/>
|
|
/// <c>void SetUpdatePosition(bool inUpdatePosition)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_SetUpdatePosition")]
|
|
public static partial void SoftBodyMotionProperties_SetUpdatePosition(SoftBodyMotionProperties self, Brutal.Bool8 updatePosition);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyMotionProperties.h#L89">Jolt/Physics/SoftBody/SoftBodyMotionProperties.h:89</see>
|
|
/// <br/>
|
|
/// <c>bool GetFacesDoubleSided() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// If the faces in this soft body should be treated as double sided for the purpose of collision
|
|
/// detection (ray cast / collide shape / cast shape)
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_GetFacesDoubleSided")]
|
|
public static partial Brutal.Bool8 SoftBodyMotionProperties_GetFacesDoubleSided(SoftBodyMotionProperties self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyMotionProperties.h#L90">Jolt/Physics/SoftBody/SoftBodyMotionProperties.h:90</see>
|
|
/// <br/>
|
|
/// <c>void SetFacesDoubleSided(bool inDoubleSided)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_SetFacesDoubleSided")]
|
|
public static partial void SoftBodyMotionProperties_SetFacesDoubleSided(SoftBodyMotionProperties self, Brutal.Bool8 doubleSided);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyMotionProperties.h#L93">Jolt/Physics/SoftBody/SoftBodyMotionProperties.h:93</see>
|
|
/// <br/>
|
|
/// <c>bool GetEnableSkinConstraints() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Global setting to turn on/off skin constraints
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_GetEnableSkinConstraints")]
|
|
public static partial Brutal.Bool8 SoftBodyMotionProperties_GetEnableSkinConstraints(SoftBodyMotionProperties self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyMotionProperties.h#L94">Jolt/Physics/SoftBody/SoftBodyMotionProperties.h:94</see>
|
|
/// <br/>
|
|
/// <c>void SetEnableSkinConstraints(bool inEnableSkinConstraints)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_SetEnableSkinConstraints")]
|
|
public static partial void SoftBodyMotionProperties_SetEnableSkinConstraints(SoftBodyMotionProperties self, Brutal.Bool8 enableSkinConstraints);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyMotionProperties.h#L97">Jolt/Physics/SoftBody/SoftBodyMotionProperties.h:97</see>
|
|
/// <br/>
|
|
/// <c>float GetSkinnedMaxDistanceMultiplier() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Multiplier applied to Skinned::mMaxDistance to allow tightening or loosening of the skin
|
|
/// constraints. 0 to hard skin all vertices.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_GetSkinnedMaxDistanceMultiplier")]
|
|
public static partial float SoftBodyMotionProperties_GetSkinnedMaxDistanceMultiplier(SoftBodyMotionProperties self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyMotionProperties.h#L98">Jolt/Physics/SoftBody/SoftBodyMotionProperties.h:98</see>
|
|
/// <br/>
|
|
/// <c>void SetSkinnedMaxDistanceMultiplier(float inSkinnedMaxDistanceMultiplier)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_SetSkinnedMaxDistanceMultiplier")]
|
|
public static partial void SoftBodyMotionProperties_SetSkinnedMaxDistanceMultiplier(SoftBodyMotionProperties self, float skinnedMaxDistanceMultiplier);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyMotionProperties.h#L101">Jolt/Physics/SoftBody/SoftBodyMotionProperties.h:101</see>
|
|
/// <br/>
|
|
/// <c>float GetVertexRadius() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// How big the particles are, can be used to push the vertices a little bit away from the surface of
|
|
/// other bodies to prevent z-fighting
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_GetVertexRadius")]
|
|
public static partial float SoftBodyMotionProperties_GetVertexRadius(SoftBodyMotionProperties self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyMotionProperties.h#L102">Jolt/Physics/SoftBody/SoftBodyMotionProperties.h:102</see>
|
|
/// <br/>
|
|
/// <c>void SetVertexRadius(float inVertexRadius)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_SetVertexRadius")]
|
|
public static partial void SoftBodyMotionProperties_SetVertexRadius(SoftBodyMotionProperties self, float vertexRadius);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyMotionProperties.h#L105">Jolt/Physics/SoftBody/SoftBodyMotionProperties.h:105</see>
|
|
/// <br/>
|
|
/// <c>const AABox & GetLocalBounds() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Get local bounding box
|
|
/// </para>
|
|
/// <para>
|
|
/// The returned handle is borrowed from its owner; don't Dispose it.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_GetLocalBounds")]
|
|
public static partial AABox SoftBodyMotionProperties_GetLocalBounds(SoftBodyMotionProperties self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyMotionProperties.h#L108">Jolt/Physics/SoftBody/SoftBodyMotionProperties.h:108</see>
|
|
/// <br/>
|
|
/// <c>float GetVolume() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Get the volume of the soft body. Note can become negative if the shape is inside out!
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_GetVolume")]
|
|
public static partial float SoftBodyMotionProperties_GetVolume(SoftBodyMotionProperties self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyMotionProperties.h#L111">Jolt/Physics/SoftBody/SoftBodyMotionProperties.h:111</see>
|
|
/// <br/>
|
|
/// <c>void CalculateMassAndInertia()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Calculate the total mass and inertia of this body based on the current state of the vertices
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_CalculateMassAndInertia")]
|
|
public static partial void SoftBodyMotionProperties_CalculateMassAndInertia(SoftBodyMotionProperties self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyMotionProperties.h#L115">Jolt/Physics/SoftBody/SoftBodyMotionProperties.h:115</see>
|
|
/// <br/>
|
|
/// <c>void DrawVertices(DebugRenderer *inRenderer, RMat44Arg inCenterOfMassTransform) const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Draw the state of a soft body
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_DrawVertices")]
|
|
public static partial void SoftBodyMotionProperties_DrawVertices(SoftBodyMotionProperties self, DebugRenderer renderer, float4x4 centerOfMassTransform);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyMotionProperties.h#L116">Jolt/Physics/SoftBody/SoftBodyMotionProperties.h:116</see>
|
|
/// <br/>
|
|
/// <c>void DrawVertexVelocities(DebugRenderer *inRenderer, RMat44Arg inCenterOfMassTransform) const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_DrawVertexVelocities")]
|
|
public static partial void SoftBodyMotionProperties_DrawVertexVelocities(SoftBodyMotionProperties self, DebugRenderer renderer, float4x4 centerOfMassTransform);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyMotionProperties.h#L117">Jolt/Physics/SoftBody/SoftBodyMotionProperties.h:117</see>
|
|
/// <br/>
|
|
/// <c>void DrawEdgeConstraints(DebugRenderer *inRenderer, RMat44Arg inCenterOfMassTransform, ESoftBodyConstraintColor inConstraintColor) const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_DrawEdgeConstraints")]
|
|
public static partial void SoftBodyMotionProperties_DrawEdgeConstraints(SoftBodyMotionProperties self, DebugRenderer renderer, float4x4 centerOfMassTransform, ESoftBodyConstraintColor constraintColor);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyMotionProperties.h#L118">Jolt/Physics/SoftBody/SoftBodyMotionProperties.h:118</see>
|
|
/// <br/>
|
|
/// <c>void DrawRods(DebugRenderer *inRenderer, RMat44Arg inCenterOfMassTransform, ESoftBodyConstraintColor inConstraintColor) const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_DrawRods")]
|
|
public static partial void SoftBodyMotionProperties_DrawRods(SoftBodyMotionProperties self, DebugRenderer renderer, float4x4 centerOfMassTransform, ESoftBodyConstraintColor constraintColor);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyMotionProperties.h#L119">Jolt/Physics/SoftBody/SoftBodyMotionProperties.h:119</see>
|
|
/// <br/>
|
|
/// <c>void DrawRodStates(DebugRenderer *inRenderer, RMat44Arg inCenterOfMassTransform, ESoftBodyConstraintColor inConstraintColor) const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_DrawRodStates")]
|
|
public static partial void SoftBodyMotionProperties_DrawRodStates(SoftBodyMotionProperties self, DebugRenderer renderer, float4x4 centerOfMassTransform, ESoftBodyConstraintColor constraintColor);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyMotionProperties.h#L120">Jolt/Physics/SoftBody/SoftBodyMotionProperties.h:120</see>
|
|
/// <br/>
|
|
/// <c>void DrawRodBendTwistConstraints(DebugRenderer *inRenderer, RMat44Arg inCenterOfMassTransform, ESoftBodyConstraintColor inConstraintColor) const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_DrawRodBendTwistConstraints")]
|
|
public static partial void SoftBodyMotionProperties_DrawRodBendTwistConstraints(SoftBodyMotionProperties self, DebugRenderer renderer, float4x4 centerOfMassTransform, ESoftBodyConstraintColor constraintColor);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyMotionProperties.h#L121">Jolt/Physics/SoftBody/SoftBodyMotionProperties.h:121</see>
|
|
/// <br/>
|
|
/// <c>void DrawBendConstraints(DebugRenderer *inRenderer, RMat44Arg inCenterOfMassTransform, ESoftBodyConstraintColor inConstraintColor) const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_DrawBendConstraints")]
|
|
public static partial void SoftBodyMotionProperties_DrawBendConstraints(SoftBodyMotionProperties self, DebugRenderer renderer, float4x4 centerOfMassTransform, ESoftBodyConstraintColor constraintColor);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyMotionProperties.h#L122">Jolt/Physics/SoftBody/SoftBodyMotionProperties.h:122</see>
|
|
/// <br/>
|
|
/// <c>void DrawVolumeConstraints(DebugRenderer *inRenderer, RMat44Arg inCenterOfMassTransform, ESoftBodyConstraintColor inConstraintColor) const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_DrawVolumeConstraints")]
|
|
public static partial void SoftBodyMotionProperties_DrawVolumeConstraints(SoftBodyMotionProperties self, DebugRenderer renderer, float4x4 centerOfMassTransform, ESoftBodyConstraintColor constraintColor);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyMotionProperties.h#L123">Jolt/Physics/SoftBody/SoftBodyMotionProperties.h:123</see>
|
|
/// <br/>
|
|
/// <c>void DrawSkinConstraints(DebugRenderer *inRenderer, RMat44Arg inCenterOfMassTransform, ESoftBodyConstraintColor inConstraintColor) const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_DrawSkinConstraints")]
|
|
public static partial void SoftBodyMotionProperties_DrawSkinConstraints(SoftBodyMotionProperties self, DebugRenderer renderer, float4x4 centerOfMassTransform, ESoftBodyConstraintColor constraintColor);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyMotionProperties.h#L124">Jolt/Physics/SoftBody/SoftBodyMotionProperties.h:124</see>
|
|
/// <br/>
|
|
/// <c>void DrawLRAConstraints(DebugRenderer *inRenderer, RMat44Arg inCenterOfMassTransform, ESoftBodyConstraintColor inConstraintColor) const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_DrawLRAConstraints")]
|
|
public static partial void SoftBodyMotionProperties_DrawLRAConstraints(SoftBodyMotionProperties self, DebugRenderer renderer, float4x4 centerOfMassTransform, ESoftBodyConstraintColor constraintColor);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyMotionProperties.h#L125">Jolt/Physics/SoftBody/SoftBodyMotionProperties.h:125</see>
|
|
/// <br/>
|
|
/// <c>void DrawPredictedBounds(DebugRenderer *inRenderer, RMat44Arg inCenterOfMassTransform) const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_DrawPredictedBounds")]
|
|
public static partial void SoftBodyMotionProperties_DrawPredictedBounds(SoftBodyMotionProperties self, DebugRenderer renderer, float4x4 centerOfMassTransform);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyMotionProperties.h#L153">Jolt/Physics/SoftBody/SoftBodyMotionProperties.h:153</see>
|
|
/// <br/>
|
|
/// <c>void CustomUpdate(float inDeltaTime, Body &ioSoftBody, PhysicsSystem &inSystem)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// This function allows you to update the soft body immediately without going through the PhysicsSystem.
|
|
/// This is useful if the soft body is teleported and needs to 'settle' or it can be used if a the soft body
|
|
/// is not added to the PhysicsSystem and needs to be updated manually. One reason for not adding it to the
|
|
/// PhysicsSystem is that you might want to update a soft body immediately after updating an animated object
|
|
/// that has the soft body attached to it. If the soft body is added to the PhysicsSystem it will be updated
|
|
/// by it, so calling this function will effectively update it twice. Note that when you use this function,
|
|
/// only the current thread will be used, whereas if you update through the PhysicsSystem, multiple threads may
|
|
/// be used.
|
|
/// Note that this will bypass any sleep checks. Since the dynamic objects that the soft body touches
|
|
/// will not move during this call, there can be simulation artifacts if you call this function multiple times
|
|
/// without running the physics simulation step.
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_CustomUpdate")]
|
|
public static partial void SoftBodyMotionProperties_CustomUpdate(SoftBodyMotionProperties self, float deltaTime, Body softBody, PhysicsSystem system);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyMotionProperties.h#L160">Jolt/Physics/SoftBody/SoftBodyMotionProperties.h:160</see>
|
|
/// <br/>
|
|
/// <c>void InitializeUpdateContext(float inDeltaTime, Body &inSoftBody, const PhysicsSystem &inSystem, SoftBodyUpdateContext &ioContext)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Initialize the update context. Not part of the public API.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_InitializeUpdateContext")]
|
|
public static partial void SoftBodyMotionProperties_InitializeUpdateContext(SoftBodyMotionProperties self, float deltaTime, Body softBody, PhysicsSystem system, SoftBodyUpdateContext context);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyMotionProperties.h#L163">Jolt/Physics/SoftBody/SoftBodyMotionProperties.h:163</see>
|
|
/// <br/>
|
|
/// <c>void DetermineCollidingShapes(const SoftBodyUpdateContext &inContext, const PhysicsSystem &inSystem, const BodyLockInterface &inBodyLockInterface)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Do a broad phase check and collect all bodies that can possibly collide with this soft body. Not
|
|
/// part of the public API.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_DetermineCollidingShapes")]
|
|
public static partial void SoftBodyMotionProperties_DetermineCollidingShapes(SoftBodyMotionProperties self, SoftBodyUpdateContext context, PhysicsSystem system, BodyLockInterface bodyLockInterface);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyMotionProperties.h#L174">Jolt/Physics/SoftBody/SoftBodyMotionProperties.h:174</see>
|
|
/// <br/>
|
|
/// <c>EStatus ParallelUpdate(SoftBodyUpdateContext &ioContext, const PhysicsSettings &inPhysicsSettings)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Update the soft body, will process a batch of work. Not part of the public API.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_ParallelUpdate")]
|
|
public static partial SoftBodyMotionProperties.EStatus SoftBodyMotionProperties_ParallelUpdate(SoftBodyMotionProperties self, SoftBodyUpdateContext context, ref PhysicsSettings physicsSettings);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyMotionProperties.h#L177">Jolt/Physics/SoftBody/SoftBodyMotionProperties.h:177</see>
|
|
/// <br/>
|
|
/// <c>void UpdateRigidBodyVelocities(const SoftBodyUpdateContext &inContext, BodyInterface &inBodyInterface)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Update the velocities of all rigid bodies that we collided with. Not part of the public API.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_UpdateRigidBodyVelocities")]
|
|
public static partial void SoftBodyMotionProperties_UpdateRigidBodyVelocities(SoftBodyMotionProperties self, SoftBodyUpdateContext context, BodyInterface bodyInterface);
|
|
[LibraryImport("jolt", EntryPoint = "SoftBodyMotionProperties_AsMotionProperties")]
|
|
public static partial MotionProperties SoftBodyMotionProperties_AsMotionProperties(SoftBodyMotionProperties self);
|
|
}
|
|
}
|
|
}
|