//static ViewInfo Zero = new ViewInfo(); public ViewInfo(GameObject parent) { Parent = parent; updateProjectionMatrix(); //frustrumCube = new FrustrumCube(zFar, zNear, this); }
protected GameObject(GameObject parent) { Parent = parent; }
public virtual int AddChild(GameObject newChild) { childs.Add(newChild); return childs.Count - 1; }
public virtual void removeChild(GameObject reChild) { childs.Remove(reChild); }
internal void renameChild(GameObject curChild, string newName) { childNames.Remove(curChild.name); childNames.Add(newName, curChild.childId); }