STK Graphics PrimitivesSend comments on this topic.
IAgStkGraphicsSceneManager Interface

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

Public Method RenderRenders all scenes within an application. To render a specific scene, use the Render method.

Public Properties

Public Property FrameRateGets the frame rate class, which can be used to keep track of how fast scenes are being rendered.
Public Property GlobeOverlaySettingsGets the globe overlay settings, which are used to set global settings for all globe overlays.
Public Property InitializersAllows the user to create or initialize primitives, display conditions, tringulators and other types of objects.
Public Property PrimitivesGets the primitive manager, which is used to add primitives to your scenes.
Public Property ScenesGets a read-only collection of scenes that are associated with the scene manager.
Public Property ScreenOverlaysGets the screen overlay manager, which is used to add screen overlays to your scenes.
Public Property TexturesGets 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

© 2021 Analytical Graphics, Inc. All Rights Reserved.