BEPUphysics.NarrowPhaseSystems.Pairs.GroupPairHandler.GetContactInformation C# (CSharp) Метод

GetContactInformation() защищенный Метод

protected GetContactInformation ( int index, ContactInformation &info ) : void
index int
info ContactInformation
Результат void
        protected internal override void GetContactInformation(int index, out ContactInformation info)
        {
            foreach (CollidablePairHandler pair in subPairs.Values)
            {
                int count = pair.Contacts.Count;
                if (index - count < 0)
                {
                    pair.GetContactInformation(index, out info);
                    return;
                }
                index -= count;
            }
            throw new IndexOutOfRangeException("Contact index is not present in the pair.");

        }