1837 {
1838 if (listOfTypenames.Count() > 0)
1839 {
1841 while (child)
1842 {
1843 Object childToRemove = child;
1844 child =
Object.Cast(child.GetSibling());
1845
1846 if (childToRemove.IsAnyInherited(listOfTypenames))
1847 {
1848 vector pos = parent.GetPosition();
1849 parent.RemoveChild(childToRemove, false);
1850
1853 m4[3] = pos;
1854 childToRemove.SetTransform(m4);
1855 childToRemove.PlaceOnSurface();
1856 }
1857 }
1858 }
1859 }
static void MatrixIdentity4(out vector mat[4])
Creates identity matrix.