Esempio n. 1
0
 /// <summary>
 /// Function to create the engine instance of the shape. The engine instance is of type EngineInstanceNode
 /// and located in the managed code library.
 /// </summary>
 /// <param name="bCreateChildren">relevant for the base class to create instances for children</param>
 public override void CreateEngineInstance(bool bCreateChildren)
 {
     base.CreateEngineInstance(bCreateChildren);
     _engineInstance = new GUIContextInstance();
     SetEngineInstanceBaseProperties(); // sets the position etc.
 }
Esempio n. 2
0
 /// <summary>
 /// Function to create the engine instance of the shape. The engine instance is of type EngineInstanceNode
 /// and located in the managed code library.
 /// </summary>
 /// <param name="bCreateChildren">relevant for the base class to create instances for children</param>
 public override void CreateEngineInstance(bool bCreateChildren)
 {
     base.CreateEngineInstance (bCreateChildren);
       _engineInstance = new GUIContextInstance();
       SetEngineInstanceBaseProperties(); // sets the position etc.
 }