Initialize() public method

public Initialize ( _3DLayer layer ) : void
layer _3DLayer
return void
Example #1
0
 /// <summary>
 /// Adds a scene to the draw stack. The system will not call
 /// Draw on the scene but it will be initialized and given updates
 /// </summary>
 /// <param name="scene"></param>
 public void AddExternal(_3DAbstract scene)
 {
     External.Add(scene);
     if (Device != null)
     {
         scene.Initialize(this);
     }
 }
Example #2
0
 /// <summary>
 /// Adds a scene to the draw stack. The system will not call
 /// Draw on the scene but it will be initialized and given updates
 /// </summary>
 /// <param name="scene"></param>
 public void AddExternal(_3DAbstract scene)
 {
     External.Add(scene);
     if (this.Device != null)
     {
         scene.Initialize(this);
     }
 }
Example #3
0
 public void Add(_3DAbstract scene)
 {
     Scenes.Add(scene);
     if (Device != null)
     {
         scene.Initialize(this);
     }
 }
Example #4
0
 public void Add(_3DAbstract scene)
 {
     Scenes.Add(scene);
     if (this.Device != null)
     {
         scene.Initialize(this);
     }
 }