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