SceneManager#

class ansys.stk.core.graphics.SceneManager#

The static scene manager class provides global properties and functionality that apply to all scenes and thus affect the rendering of every globe control…

Overview#

render

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

primitives

Get the primitive manager, which is used to add primitives to your scenes.

screen_overlays

Get the screen overlay manager, which is used to add screen overlays to your scenes.

textures

Get the texture 2d factory, which can be used to create textures from various sources.

globe_overlay_settings

Get the globe overlay settings, which are used to set global settings for all globe overlays.

scenes

Get a read-only collection of scenes that are associated with the scene manager.

initializers

Allow the user to create or initialize primitives, display conditions, tringulators and other types of objects.

frame_rate

Get the frame rate class, which can be used to keep track of how fast scenes are being <see ref=’Render’>rendered</see>.

Import detail#

from ansys.stk.core.graphics import SceneManager

Property detail#

property SceneManager.primitives: PrimitiveManager#

Get the primitive manager, which is used to add primitives to your scenes.

property SceneManager.screen_overlays: ScreenOverlayManager#

Get the screen overlay manager, which is used to add screen overlays to your scenes.

property SceneManager.textures: Texture2DFactory#

Get the texture 2d factory, which can be used to create textures from various sources.

property SceneManager.globe_overlay_settings: GlobeOverlaySettings#

Get the globe overlay settings, which are used to set global settings for all globe overlays.

property SceneManager.scenes: SceneCollection#

Get a read-only collection of scenes that are associated with the scene manager.

property SceneManager.initializers: FactoryAndInitializers#

Allow the user to create or initialize primitives, display conditions, tringulators and other types of objects.

property SceneManager.frame_rate: FrameRate#

Get the frame rate class, which can be used to keep track of how fast scenes are being <see ref=’Render’>rendered</see>.

Method detail#

SceneManager.render(self) None#

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

Returns:

None