SceneDisplayCondition#
- class ansys.stk.core.graphics.SceneDisplayCondition#
Bases:
IDisplayCondition
A display condition used to control what scene or scenes an object, such as a primitive, is rendered in. This is used to show an object in some scenes and hide it in others.
Overview#
Allow or disallows rendering for in a particular scene for. |
|
Determine whether the display condition allows rendering rendering in the given scene. |
|
Allow rendering only in the given scene. The display condition will not allow rendering in other scenes, including newly created ones. |
Import detail#
from ansys.stk.core.graphics import SceneDisplayCondition
Method detail#
- SceneDisplayCondition.set_display_in_scene(self, scene: Scene, on: bool) None #
Allow or disallows rendering for in a particular scene for.