1831 {
1832 if (listOfTypenames.Count() > 0)
1833 {
1835 while (child)
1836 {
1837 Object childToRemove = child;
1838 child =
Object.Cast(child.GetSibling());
1839
1840 if (childToRemove.IsAnyInherited(listOfTypenames))
1841 {
1842 vector pos = parent.GetPosition();
1843 parent.RemoveChild(childToRemove, false);
1844
1847 m4[3] = pos;
1848 childToRemove.SetTransform(m4);
1849 childToRemove.PlaceOnSurface();
1850 }
1851 }
1852 }
1853 }
static void MatrixIdentity4(out vector mat[4])
Creates identity matrix.