BEPUphysics.DeactivationManagement.SimulationIslandMember.RemoveConnectionReference C# (CSharp) Метод

RemoveConnectionReference() приватный Метод

Removes a connection reference from the member.
private RemoveConnectionReference ( BEPUphysics.DeactivationManagement.SimulationIslandConnection connection, int index ) : void
connection BEPUphysics.DeactivationManagement.SimulationIslandConnection Reference to remove.
index int Index of the connection in this member's list
Результат void
        internal void RemoveConnectionReference(SimulationIslandConnection connection, int index)
        {
            if (connections.Count > index)
            {
                connections.FastRemoveAt(index);
                if (connections.Count > index)
                    connections.Elements[index].SetListIndex(this, index);
            }
        }