AGI STK Graphics 11 Send comments on this topic.
IAgStkGraphicsSceneManager Interface





Description

The static SceneManager class provides global properties and functionality that apply to all Scenes and thus affect the rendering of every globe control. It also provides a Textures property for creating new Texture 2D, and controls the Time of all Scenes within an application. The Animation property and Set Time method can be used to control Time. The Primitives and Screen Overlays properties allow you to add Primitives and ScreenOverlays to all Scenes. To render these objects in specific scenes, see the SceneDisplayCondition class. To render all Scenes within an application, call the Render method.

Object Model







Public Methods

Public Method Render Renders all Scenes within an application. To render a specific Scene, use the Scene.Render method.

Public Properties

Public Property GlobeOverlaySettings Gets the GlobeOverlaySettings, which are used to set global settings for all GlobeOverlays.
Public Property Initializers Allows the user to create or initialize primitives, display conditions, tringulators and other types of objects.
Public Property Primitives Gets the PrimitiveManager, which is used to add Primitives to your Scenes.
Public Property Scenes Gets a read-only collection of Scenes that are associated with the SceneManager.
Public Property ScreenOverlays Gets the ScreenOverlayManager, which is used to add ScreenOverlays to your Scenes.
Public Property Textures Gets the Texture2DFactory, which can be used to create Texture 2D from various sources.

Example

How to get the scene manager from the STK Object Model root.
[C#] Copy Code
IAgStkGraphicsSceneManager manager = ((IAgScenario)root.CurrentScenario).SceneManager; 
 

How to get the scene manager from the STK Object Model root.
[Visual Basic .NET] Copy Code
Dim manager As IAgStkGraphicsSceneManager = DirectCast(root.CurrentScenario, IAgScenario).SceneManager

See Also

CoClasses that Implement IAgStkGraphicsSceneManager

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1