Table of Contents

Interface ICollisionPairWide<TShapeA, TShapeWideA, TShapeB, TShapeWideB, TPair, TPairWide>

Namespace
BepuPhysics.CollisionDetection.CollisionTasks
Assembly
BepuPhysics.dll
public interface ICollisionPairWide<TShapeA, TShapeWideA, TShapeB, TShapeWideB, TPair, TPairWide> where TShapeA : struct, IShape where TShapeWideA : struct, IShapeWide<TShapeA> where TShapeB : struct, IShape where TShapeWideB : struct, IShapeWide<TShapeB>

Type Parameters

TShapeA
TShapeWideA
TShapeB
TShapeWideB
TPair
TPairWide

Properties

HasFlipMask

public static abstract bool HasFlipMask { get; }

Property Value

bool

OrientationCount

public static abstract int OrientationCount { get; }

Property Value

int

Methods

GetFlipMask(ref TPairWide)

public static abstract ref Vector<int> GetFlipMask(ref TPairWide pair)

Parameters

pair TPairWide

Returns

Vector<int>

GetOffsetB(ref TPairWide)

public static abstract ref Vector3Wide GetOffsetB(ref TPairWide pair)

Parameters

pair TPairWide

Returns

Vector3Wide

GetOrientationA(ref TPairWide)

public static abstract ref QuaternionWide GetOrientationA(ref TPairWide pair)

Parameters

pair TPairWide

Returns

QuaternionWide

GetOrientationB(ref TPairWide)

public static abstract ref QuaternionWide GetOrientationB(ref TPairWide pair)

Parameters

pair TPairWide

Returns

QuaternionWide

GetShapeA(ref TPairWide)

public static abstract ref TShapeWideA GetShapeA(ref TPairWide pair)

Parameters

pair TPairWide

Returns

TShapeWideA

GetShapeB(ref TPairWide)

public static abstract ref TShapeWideB GetShapeB(ref TPairWide pair)

Parameters

pair TPairWide

Returns

TShapeWideB

GetSpeculativeMargin(ref TPairWide)

public static abstract ref Vector<float> GetSpeculativeMargin(ref TPairWide pair)

Parameters

pair TPairWide

Returns

Vector<float>

WriteSlot(int, in TPair)

void WriteSlot(int index, in TPair source)

Parameters

index int
source TPair