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

73 lines
3.1 KiB
C#

// <auto-generated/>
// Generated by Brutal.Jolt.Generate; do not edit by hand.
#nullable enable
namespace Brutal.JoltApi
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/ContactListener.h#L56">Jolt/Physics/Collision/ContactListener.h:56</see>
/// <br/>
/// <c>enum class ValidateResult</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Return value for the OnContactValidate callback. Determines if the contact is being processed or not.
/// Results are ordered so that the strongest accept has the lowest number and the strongest reject the highest number (which allows for easy combining of results)
/// </code>
/// </remarks>
public enum ValidateResult : int
{
/// <summary>
/// <para>
/// Accept this and any further contact points for this body pair
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/ContactListener.h#L58">Jolt/Physics/Collision/ContactListener.h:58</see>
/// <br/>
/// <c>AcceptAllContactsForThisBodyPair</c>
/// </para>
/// </summary>
AcceptAllContactsForThisBodyPair,
/// <summary>
/// <para>
/// Accept this contact only (and continue calling this callback for every contact manifold for the same
/// body pair)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/ContactListener.h#L59">Jolt/Physics/Collision/ContactListener.h:59</see>
/// <br/>
/// <c>AcceptContact</c>
/// </para>
/// </summary>
AcceptContact,
/// <summary>
/// <para>
/// Reject this contact only (but process any other contact manifolds for the same body pair)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/ContactListener.h#L60">Jolt/Physics/Collision/ContactListener.h:60</see>
/// <br/>
/// <c>RejectContact</c>
/// </para>
/// </summary>
RejectContact,
/// <summary>
/// <para>
/// Rejects this and any further contact points for this body pair
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/ContactListener.h#L61">Jolt/Physics/Collision/ContactListener.h:61</see>
/// <br/>
/// <c>RejectAllContactsForThisBodyPair</c>
/// </para>
/// </summary>
RejectAllContactsForThisBodyPair,
}
}