// // 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/SoftBody/SoftBodyManifold.h:19 ///
/// bool HasContact(const SoftBodyVertex &inVertex) const ///
///
/// /// /// Check if a vertex has collided with something in this update /// /// [LibraryImport("jolt", EntryPoint = "SoftBodyManifold_HasContact")] public static partial Brutal.Bool8 SoftBodyManifold_HasContact(SoftBodyManifold self, SoftBodyVertex vertex); /// /// /// C++: /// Jolt/Physics/SoftBody/SoftBodyManifold.h:25 ///
/// Vec3 GetLocalContactPoint(const SoftBodyVertex &inVertex) const ///
///
/// /// /// Get the local space contact point (multiply by GetCenterOfMassTransform() of the soft body to get /// world space) /// /// [LibraryImport("jolt", EntryPoint = "SoftBodyManifold_GetLocalContactPoint")] public static partial float3 SoftBodyManifold_GetLocalContactPoint(SoftBodyManifold self, SoftBodyVertex vertex); /// /// /// C++: /// Jolt/Physics/SoftBody/SoftBodyManifold.h:31 ///
/// Vec3 GetContactNormal(const SoftBodyVertex &inVertex) const ///
///
/// /// /// Get the contact normal for the vertex (assumes there is a contact). /// /// [LibraryImport("jolt", EntryPoint = "SoftBodyManifold_GetContactNormal")] public static partial float3 SoftBodyManifold_GetContactNormal(SoftBodyManifold self, SoftBodyVertex vertex); /// /// /// C++: /// Jolt/Physics/SoftBody/SoftBodyManifold.h:37 ///
/// BodyID GetContactBodyID(const SoftBodyVertex &inVertex) const ///
///
/// /// /// Get the body with which the vertex has collided in this update /// /// [LibraryImport("jolt", EntryPoint = "SoftBodyManifold_GetContactBodyID")] public static partial uint SoftBodyManifold_GetContactBodyID(SoftBodyManifold self, SoftBodyVertex vertex); /// /// /// C++: /// Jolt/Physics/SoftBody/SoftBodyManifold.h:43 ///
/// uint GetNumSensorContacts() const ///
///
/// /// /// Get the number of sensors that are in contact with the soft body /// /// [LibraryImport("jolt", EntryPoint = "SoftBodyManifold_GetNumSensorContacts")] public static partial uint SoftBodyManifold_GetNumSensorContacts(SoftBodyManifold self); /// /// /// C++: /// Jolt/Physics/SoftBody/SoftBodyManifold.h:49 ///
/// BodyID GetSensorContactBodyID(uint inIndex) const ///
///
/// /// /// Get the i-th sensor that is in contact with the soft body /// /// [LibraryImport("jolt", EntryPoint = "SoftBodyManifold_GetSensorContactBodyID")] public static partial uint SoftBodyManifold_GetSensorContactBodyID(SoftBodyManifold self, uint index); } } }