BEPUphysics.NarrowPhaseSystems.Pairs.CompoundGroupPairHandler.Initialize C# (CSharp) Метод

Initialize() публичный Метод

Initializes the pair handler.
public Initialize ( BroadPhaseEntry entryA, BroadPhaseEntry entryB ) : void
entryA BEPUphysics.BroadPhaseEntries.BroadPhaseEntry First entry in the pair.
entryB BEPUphysics.BroadPhaseEntries.BroadPhaseEntry Second entry in the pair.
Результат void
        public override void Initialize(BroadPhaseEntry entryA, BroadPhaseEntry entryB)
        {
            //Other member of the pair is initialized by the child.
            compoundInfo = entryA as CompoundCollidable;
            if (compoundInfo == null)
            {
                compoundInfo = entryB as CompoundCollidable;
                if (compoundInfo == null)
                {
                    throw new Exception("Inappropriate types used to initialize pair.");
                }
            }

            base.Initialize(entryA, entryB);
        }
CompoundGroupPairHandler