Initialize() 공개 메소드

public Initialize ( ) : void
리턴 void
예제 #1
0
 /// <summary>
 /// Adds a 3D element to this 3DScene.
 /// </summary>
 /// <param name="item">The _3DComponent instance to add.</param>
 public override void Add(_3DComponent item)
 {
     m_Elements.Add(item);
     item.Scene = this;
     if (this.Parent != null)
     {
         item.Initialize();
     }
 }
예제 #2
0
파일: 3DScene.cs 프로젝트: jwofles/ForkSO
 /// <summary>
 /// Adds a 3D element to this 3DScene.
 /// </summary>
 /// <param name="item">The _3DComponent instance to add.</param>
 public override void Add(_3DComponent item)
 {
     m_Elements.Add(item);
     item.Scene = this;
     if (this.Parent != null)
     {
         item.Initialize();
     }
 }