FarseerPhysics.Dynamics.Fixture.FilterChanged C# (CSharp) Method

FilterChanged() private method

private FilterChanged ( ) : void
return void
        private void FilterChanged()
        {
            // Flag associated contacts for filtering.
            ContactEdge edge = Body.ContactList;
            while (edge != null)
            {
                Contact contact = edge.Contact;
                Fixture fixtureA = contact.FixtureA;
                Fixture fixtureB = contact.FixtureB;
                if (fixtureA == this || fixtureB == this)
                {
                    contact.FlagForFiltering();
                }

                edge = edge.Next;
            }
        }