brutal/brutal.jolt/Brutal.Jolt/Generated/PInvoke/SoftBodyVertex.gen.cs
2026-10-15 14:12:02 +13:00

218 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
{
[LibraryImport("jolt", EntryPoint = "SoftBodyVertex_Create")]
public static partial SoftBodyVertex SoftBodyVertex_Create();
[LibraryImport("jolt", EntryPoint = "SoftBodyVertex_Destroy")]
public static partial void SoftBodyVertex_Destroy(SoftBodyVertex self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyVertex.h#L19">Jolt/Physics/SoftBody/SoftBodyVertex.h:19</see>
/// <br/>
/// <c>inline void ResetCollision()</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Reset collision information to prepare for a new collision check
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "SoftBodyVertex_ResetCollision")]
public static partial void SoftBodyVertex_ResetCollision(SoftBodyVertex self);
/// <summary>
/// <para>
/// Internal use only. Position at the previous time step
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyVertex.h#L26">Jolt/Physics/SoftBody/SoftBodyVertex.h:26</see>
/// <br/>
/// <c>Vec3 mPreviousPosition</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "SoftBodyVertex_GetPreviousPosition")]
public static partial float3 SoftBodyVertex_GetPreviousPosition(SoftBodyVertex self);
/// <summary>
/// <para>
/// Internal use only. Position at the previous time step
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyVertex.h#L26">Jolt/Physics/SoftBody/SoftBodyVertex.h:26</see>
/// <br/>
/// <c>Vec3 mPreviousPosition</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "SoftBodyVertex_SetPreviousPosition")]
public static partial void SoftBodyVertex_SetPreviousPosition(SoftBodyVertex self, float3 value);
/// <summary>
/// <para>
/// Position, relative to the center of mass of the soft body
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyVertex.h#L27">Jolt/Physics/SoftBody/SoftBodyVertex.h:27</see>
/// <br/>
/// <c>Vec3 mPosition</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "SoftBodyVertex_GetPosition")]
public static partial float3 SoftBodyVertex_GetPosition(SoftBodyVertex self);
/// <summary>
/// <para>
/// Position, relative to the center of mass of the soft body
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyVertex.h#L27">Jolt/Physics/SoftBody/SoftBodyVertex.h:27</see>
/// <br/>
/// <c>Vec3 mPosition</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "SoftBodyVertex_SetPosition")]
public static partial void SoftBodyVertex_SetPosition(SoftBodyVertex self, float3 value);
/// <summary>
/// <para>
/// Velocity, relative to the center of mass of the soft body
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyVertex.h#L28">Jolt/Physics/SoftBody/SoftBodyVertex.h:28</see>
/// <br/>
/// <c>Vec3 mVelocity</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "SoftBodyVertex_GetVelocity")]
public static partial float3 SoftBodyVertex_GetVelocity(SoftBodyVertex self);
/// <summary>
/// <para>
/// Velocity, relative to the center of mass of the soft body
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyVertex.h#L28">Jolt/Physics/SoftBody/SoftBodyVertex.h:28</see>
/// <br/>
/// <c>Vec3 mVelocity</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "SoftBodyVertex_SetVelocity")]
public static partial void SoftBodyVertex_SetVelocity(SoftBodyVertex self, float3 value);
/// <summary>
/// <para>
/// Internal use only. Index in the colliding shapes list of the body we may collide with
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyVertex.h#L30">Jolt/Physics/SoftBody/SoftBodyVertex.h:30</see>
/// <br/>
/// <c>int mCollidingShapeIndex</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "SoftBodyVertex_GetCollidingShapeIndex")]
public static partial int SoftBodyVertex_GetCollidingShapeIndex(SoftBodyVertex self);
/// <summary>
/// <para>
/// Internal use only. Index in the colliding shapes list of the body we may collide with
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyVertex.h#L30">Jolt/Physics/SoftBody/SoftBodyVertex.h:30</see>
/// <br/>
/// <c>int mCollidingShapeIndex</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "SoftBodyVertex_SetCollidingShapeIndex")]
public static partial void SoftBodyVertex_SetCollidingShapeIndex(SoftBodyVertex self, int value);
/// <summary>
/// <para>
/// True if the vertex has collided with anything in the last update
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyVertex.h#L31">Jolt/Physics/SoftBody/SoftBodyVertex.h:31</see>
/// <br/>
/// <c>bool mHasContact</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "SoftBodyVertex_GetHasContact")]
public static partial Brutal.Bool8 SoftBodyVertex_GetHasContact(SoftBodyVertex self);
/// <summary>
/// <para>
/// True if the vertex has collided with anything in the last update
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyVertex.h#L31">Jolt/Physics/SoftBody/SoftBodyVertex.h:31</see>
/// <br/>
/// <c>bool mHasContact</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "SoftBodyVertex_SetHasContact")]
public static partial void SoftBodyVertex_SetHasContact(SoftBodyVertex self, Brutal.Bool8 value);
/// <summary>
/// <para>
/// Internal use only. Used while finding the collision plane, stores the largest penetration found so
/// far
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyVertex.h#L32">Jolt/Physics/SoftBody/SoftBodyVertex.h:32</see>
/// <br/>
/// <c>float mLargestPenetration</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "SoftBodyVertex_GetLargestPenetration")]
public static partial float SoftBodyVertex_GetLargestPenetration(SoftBodyVertex self);
/// <summary>
/// <para>
/// Internal use only. Used while finding the collision plane, stores the largest penetration found so
/// far
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyVertex.h#L32">Jolt/Physics/SoftBody/SoftBodyVertex.h:32</see>
/// <br/>
/// <c>float mLargestPenetration</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "SoftBodyVertex_SetLargestPenetration")]
public static partial void SoftBodyVertex_SetLargestPenetration(SoftBodyVertex self, float value);
/// <summary>
/// <para>
/// Inverse mass (1 / mass)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyVertex.h#L33">Jolt/Physics/SoftBody/SoftBodyVertex.h:33</see>
/// <br/>
/// <c>float mInvMass</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "SoftBodyVertex_GetInvMass")]
public static partial float SoftBodyVertex_GetInvMass(SoftBodyVertex self);
/// <summary>
/// <para>
/// Inverse mass (1 / mass)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/SoftBody/SoftBodyVertex.h#L33">Jolt/Physics/SoftBody/SoftBodyVertex.h:33</see>
/// <br/>
/// <c>float mInvMass</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "SoftBodyVertex_SetInvMass")]
public static partial void SoftBodyVertex_SetInvMass(SoftBodyVertex self, float value);
}
}
}