Struct CompoundPairContinuations<TCompoundA, TCompoundB>
public struct CompoundPairContinuations<TCompoundA, TCompoundB> : ICompoundPairContinuationHandler<NonconvexReduction> where TCompoundA : ICompoundShape where TCompoundB : ICompoundShape
Type Parameters
TCompoundA
TCompoundB
- Implements
-
- Inherited Members
-
Properties
CollisionContinuationType
public CollisionContinuationType CollisionContinuationType { get; }
Property Value
- CollisionContinuationType
Methods
public void ConfigureContinuationChild<TCallbacks>(ref CollisionBatcher<TCallbacks> collisionBatcher, ref NonconvexReduction continuation, int continuationChildIndex, in BoundsTestedPair pair, int childIndexA, int childTypeA, int childIndexB, in RigidPose childPoseA, out RigidPose childPoseB, out int childTypeB, out void* childShapeDataB) where TCallbacks : struct, ICollisionCallbacks
Parameters
collisionBatcher CollisionBatcher<TCallbacks>
continuation NonconvexReduction
continuationChildIndex int
pair BoundsTestedPair
childIndexA int
childTypeA int
childIndexB int
childPoseA RigidPose
childPoseB RigidPose
childTypeB int
childShapeDataB void*
Type Parameters
TCallbacks
CreateContinuation<TCallbacks>(ref CollisionBatcher<TCallbacks>, int, ref Buffer<ChildOverlapsCollection>, ref Buffer<OverlapQueryForPair>, in BoundsTestedPair, out int)
public ref NonconvexReduction CreateContinuation<TCallbacks>(ref CollisionBatcher<TCallbacks> collisionBatcher, int totalChildCount, ref Buffer<ChildOverlapsCollection> pairOverlaps, ref Buffer<OverlapQueryForPair> pairQueries, in BoundsTestedPair pair, out int continuationIndex) where TCallbacks : struct, ICollisionCallbacks
Parameters
collisionBatcher CollisionBatcher<TCallbacks>
totalChildCount int
pairOverlaps Buffer<ChildOverlapsCollection>
pairQueries Buffer<OverlapQueryForPair>
pair BoundsTestedPair
continuationIndex int
Returns
- NonconvexReduction
Type Parameters
TCallbacks
GetChildAData<TCallbacks>(ref CollisionBatcher<TCallbacks>, ref NonconvexReduction, in BoundsTestedPair, int, out RigidPose, out int, out void*)
public void GetChildAData<TCallbacks>(ref CollisionBatcher<TCallbacks> collisionBatcher, ref NonconvexReduction continuation, in BoundsTestedPair pair, int childIndexA, out RigidPose childPoseA, out int childTypeA, out void* childShapeDataA) where TCallbacks : struct, ICollisionCallbacks
Parameters
collisionBatcher CollisionBatcher<TCallbacks>
continuation NonconvexReduction
pair BoundsTestedPair
childIndexA int
childPoseA RigidPose
childTypeA int
childShapeDataA void*
Type Parameters
TCallbacks