Table of Contents

Struct CapsulePairTester

Namespace
BepuPhysics.CollisionDetection.CollisionTasks
Assembly
BepuPhysics.dll
public struct CapsulePairTester : IPairTester<CapsuleWide, CapsuleWide, Convex2ContactManifoldWide>
Implements
Inherited Members

Properties

BatchSize

Gets the nubmer of pairs which would ideally be gathered together before executing a wide test.

public static int BatchSize { get; }

Property Value

int

Methods

Test(ref CapsuleWide, ref CapsuleWide, ref Vector<float>, ref Vector3Wide, ref QuaternionWide, ref QuaternionWide, int, out Convex2ContactManifoldWide)

public static void Test(ref CapsuleWide a, ref CapsuleWide b, ref Vector<float> speculativeMargin, ref Vector3Wide offsetB, ref QuaternionWide orientationA, ref QuaternionWide orientationB, int pairCount, out Convex2ContactManifoldWide manifold)

Parameters

a CapsuleWide
b CapsuleWide
speculativeMargin Vector<float>
offsetB Vector3Wide
orientationA QuaternionWide
orientationB QuaternionWide
pairCount int
manifold Convex2ContactManifoldWide

Test(ref CapsuleWide, ref CapsuleWide, ref Vector<float>, ref Vector3Wide, ref QuaternionWide, int, out Convex2ContactManifoldWide)

public static void Test(ref CapsuleWide a, ref CapsuleWide b, ref Vector<float> speculativeMargin, ref Vector3Wide offsetB, ref QuaternionWide orientationB, int pairCount, out Convex2ContactManifoldWide manifold)

Parameters

a CapsuleWide
b CapsuleWide
speculativeMargin Vector<float>
offsetB Vector3Wide
orientationB QuaternionWide
pairCount int
manifold Convex2ContactManifoldWide

Test(ref CapsuleWide, ref CapsuleWide, ref Vector<float>, ref Vector3Wide, int, out Convex2ContactManifoldWide)

public static void Test(ref CapsuleWide a, ref CapsuleWide b, ref Vector<float> speculativeMargin, ref Vector3Wide offsetB, int pairCount, out Convex2ContactManifoldWide manifold)

Parameters

a CapsuleWide
b CapsuleWide
speculativeMargin Vector<float>
offsetB Vector3Wide
pairCount int
manifold Convex2ContactManifoldWide