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