1970 {
1971 if (listOfTypenames.Count() > 0)
1972 {
1974 while (child)
1975 {
1976 Object childToRemove = child;
1977 child =
Object.Cast(child.GetSibling());
1978
1979 if (childToRemove.IsAnyInherited(listOfTypenames))
1980 {
1981 vector pos = parent.GetPosition();
1982 parent.RemoveChild(childToRemove, false);
1983
1986 m4[3] = pos;
1987 childToRemove.SetTransform(m4);
1988 childToRemove.PlaceOnSurface();
1989 }
1990 }
1991 }
1992 }
static void MatrixIdentity4(out vector mat[4])
Creates identity matrix.