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