1824 {
1825 if (listOfTypenames.Count() > 0)
1826 {
1828 while (child)
1829 {
1830 Object childToRemove = child;
1831 child =
Object.Cast(child.GetSibling());
1832
1833 if (childToRemove.IsAnyInherited(listOfTypenames))
1834 {
1835 vector pos = parent.GetPosition();
1836 parent.RemoveChild(childToRemove, false);
1837
1840 m4[3] = pos;
1841 childToRemove.SetTransform(m4);
1842 childToRemove.PlaceOnSurface();
1843 }
1844 }
1845 }
1846 }
static void MatrixIdentity4(out vector mat[4])
Creates identity matrix.