SceneDisplayConditionFactory#

class ansys.stk.core.graphics.SceneDisplayConditionFactory#

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#

initialize

Initialize a default scene display condition. When this display condition is assigned to an object, such as a primitive, the object can be restricted to only render in certain scenes. Call set display in scene or display only in scene to limit the scenes.

Import detail#

from ansys.stk.core.graphics import SceneDisplayConditionFactory

Method detail#

SceneDisplayConditionFactory.initialize(self) SceneDisplayCondition#

Initialize a default scene display condition. When this display condition is assigned to an object, such as a primitive, the object can be restricted to only render in certain scenes. Call set display in scene or display only in scene to limit the scenes.

Returns:

SceneDisplayCondition