mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
75 lines
3 KiB
C#
75 lines
3 KiB
C#
// <auto-generated/>
|
|
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
|
#nullable enable
|
|
|
|
namespace Brutal.JoltApi
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// 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)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/ContactListener.h#L56">Jolt/Physics/Collision/ContactListener.h:56</see>
|
|
/// <br/>
|
|
/// <c>enum class ValidateResult</c>
|
|
/// </para>
|
|
/// </summary>
|
|
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/e77f175595e64cb44218cc9d9d56fc365ad0e36a/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/e77f175595e64cb44218cc9d9d56fc365ad0e36a/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/e77f175595e64cb44218cc9d9d56fc365ad0e36a/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/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/ContactListener.h#L61">Jolt/Physics/Collision/ContactListener.h:61</see>
|
|
/// <br/>
|
|
/// <c>RejectAllContactsForThisBodyPair</c>
|
|
/// </para>
|
|
/// </summary>
|
|
RejectAllContactsForThisBodyPair,
|
|
}
|
|
}
|