VisualEffects#

class ansys.stk.core.graphics.VisualEffects#

Control various post processing effects that can be applied to the scene.

Overview#

lens_flare_enabled

Get or set whether or not the lens flare effect is enabled.

vignette_enabled

Get or set whether or not the vignette effect is enabled. This simulates light being blocked by the lens hood, resulting in a slight darkening at the perimeter of the 3D Window.

vignette_strength

Set the strength of the vignette effect, values between [0.001 and 5.0], with larger values resulting in more pronounced darkening around the perimeter of the 3D window.

Import detail#

from ansys.stk.core.graphics import VisualEffects

Property detail#

property VisualEffects.lens_flare_enabled: bool#

Get or set whether or not the lens flare effect is enabled.

property VisualEffects.vignette_enabled: bool#

Get or set whether or not the vignette effect is enabled. This simulates light being blocked by the lens hood, resulting in a slight darkening at the perimeter of the 3D Window.

property VisualEffects.vignette_strength: float#

Set the strength of the vignette effect, values between [0.001 and 5.0], with larger values resulting in more pronounced darkening around the perimeter of the 3D window.