Table of Contents

Struct SphereIncludingPairWide<TShape, TShapeWide>

Namespace
BepuPhysics.CollisionDetection.CollisionTasks
Assembly
BepuPhysics.dll
public struct SphereIncludingPairWide<TShape, TShapeWide> : ICollisionPairWide<Sphere, SphereWide, TShape, TShapeWide, SphereIncludingPair, SphereIncludingPairWide<TShape, TShapeWide>> where TShape : struct, IConvexShape where TShapeWide : struct, IShapeWide<TShape>

Type Parameters

TShape
TShapeWide
Implements
Inherited Members

Fields

A

public SphereWide A

Field Value

SphereWide

B

public TShapeWide B

Field Value

TShapeWide

FlipMask

public Vector<int> FlipMask

Field Value

Vector<int>

OffsetB

public Vector3Wide OffsetB

Field Value

Vector3Wide

OrientationB

public QuaternionWide OrientationB

Field Value

QuaternionWide

SpeculativeMargin

public Vector<float> SpeculativeMargin

Field Value

Vector<float>

Properties

HasFlipMask

public static bool HasFlipMask { get; }

Property Value

bool

OrientationCount

public static int OrientationCount { get; }

Property Value

int

Methods

GetFlipMask(ref SphereIncludingPairWide<TShape, TShapeWide>)

public static ref Vector<int> GetFlipMask(ref SphereIncludingPairWide<TShape, TShapeWide> pair)

Parameters

pair SphereIncludingPairWide<TShape, TShapeWide>

Returns

Vector<int>

GetOffsetB(ref SphereIncludingPairWide<TShape, TShapeWide>)

public static ref Vector3Wide GetOffsetB(ref SphereIncludingPairWide<TShape, TShapeWide> pair)

Parameters

pair SphereIncludingPairWide<TShape, TShapeWide>

Returns

Vector3Wide

GetOrientationA(ref SphereIncludingPairWide<TShape, TShapeWide>)

public static ref QuaternionWide GetOrientationA(ref SphereIncludingPairWide<TShape, TShapeWide> pair)

Parameters

pair SphereIncludingPairWide<TShape, TShapeWide>

Returns

QuaternionWide

GetOrientationB(ref SphereIncludingPairWide<TShape, TShapeWide>)

public static ref QuaternionWide GetOrientationB(ref SphereIncludingPairWide<TShape, TShapeWide> pair)

Parameters

pair SphereIncludingPairWide<TShape, TShapeWide>

Returns

QuaternionWide

GetShapeA(ref SphereIncludingPairWide<TShape, TShapeWide>)

public static ref SphereWide GetShapeA(ref SphereIncludingPairWide<TShape, TShapeWide> pair)

Parameters

pair SphereIncludingPairWide<TShape, TShapeWide>

Returns

SphereWide

GetShapeB(ref SphereIncludingPairWide<TShape, TShapeWide>)

public static ref TShapeWide GetShapeB(ref SphereIncludingPairWide<TShape, TShapeWide> pair)

Parameters

pair SphereIncludingPairWide<TShape, TShapeWide>

Returns

TShapeWide

GetSpeculativeMargin(ref SphereIncludingPairWide<TShape, TShapeWide>)

public static ref Vector<float> GetSpeculativeMargin(ref SphereIncludingPairWide<TShape, TShapeWide> pair)

Parameters

pair SphereIncludingPairWide<TShape, TShapeWide>

Returns

Vector<float>

WriteSlot(int, in SphereIncludingPair)

public void WriteSlot(int index, in SphereIncludingPair source)

Parameters

index int
source SphereIncludingPair