Description
The static scene manager 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 textures, and controls the time of all scenes within an application. The animation property and SetTime method can be used to control time. The primitives and screen overlays properties allow you to add primitives and screen overlays to all scenes. To render these objects in specific scenes, see the scene display condition class. To render all scenes within an application, call the Render method.
Public Methods
Render | Renders all scenes within an application. To render a specific scene, use the Render method. |
Public Properties
FrameRate | Gets the frame rate class, which can be used to keep track of how fast scenes are being rendered. |
GlobeOverlaySettings | Gets the globe overlay settings, which are used to set global settings for all globe overlays. |
Initializers | Allows the user to create or initialize primitives, display conditions, tringulators and other types of objects. |
Primitives | Gets the primitive manager, which is used to add primitives to your scenes. |
Scenes | Gets a read-only collection of scenes that are associated with the scene manager. |
ScreenOverlays | Gets the screen overlay manager, which is used to add screen overlays to your scenes. |
Textures | Gets the texture 2d factory, which can be used to create textures from various sources. |
Interfaces
CoClasses that Implement IAgStkGraphicsSceneManager
Example
How to get the scene manager from the STK Object Model root.
[C#] |
---|
IAgStkGraphicsSceneManager manager = ((IAgScenario)root.CurrentScenario).SceneManager;
|
|
How to get the scene manager from the STK Object Model root.
[Visual Basic .NET] |
---|
Dim manager As IAgStkGraphicsSceneManager = DirectCast(root.CurrentScenario, IAgScenario).SceneManager
|
|
See Also