Esempio n. 1
0
 /// <summary>
 /// Adds a 3D UI component to be rendered in the scene.
 /// </summary>
 /// <remarks>You should only add top-level components that do not have a parent component.</remarks>
 /// <param name="comp3d">A top-level G3DComponent object</param>
 internal void Add3DComponent(G3DComponent comp3d)
 {
     if (!comp3Ds.Contains(comp3d))
     {
         comp3Ds.Add(comp3d);
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Removes a 3D UI component from the rendering process.
 /// </summary>
 /// <param name="comp3d"></param>
 internal void Remove3DComponent(G3DComponent comp3d)
 {
     comp3Ds.Remove(comp3d);
 }