The primitive manager contains spatial data structures used to efficiently render primitives. Once a primitive is initialized, it must be added to the primitive manager before it will be rendered. For example:
IAgGxPrimitiveModel model = new AgGxPrimitiveModel();
model.InitializeCartographic(...);
sceneManager.Primitives.Add(model);
Once added to the manager, primitives are rendered the next time the scene is redrawn. This will happen when the user clicks a mouse button or the animation time changes. The scene can also be redrawn explicitly:
sceneManager.DrawAllScenes(); // Redraw every 3D window scene.Draw(); // Redraw just one 3D window
For best performance, add several primitives to the manager and only redraw the scene, once after adding all the primitives. For those, familiar with STK, this is similar to using BatchGraphics.
When a primitive should no longer be rendered, remove it from the manager:
sceneManager.Primitives.Remove(model);