lights#

class ansys.fluent.core.generated.meshing.tui_242.main_menu.display.set.lights(service, version, mode, path)#

Bases: TUIMenu

Enters the lights menu.

Methods:

__init__(service, version, mode, path)

__init__ method of TUIMenu class.

Classes:

headlight_on(service, version, mode, path)

Turns the light that moves with the camera on or off.

lighting_interpolation(service, version, ...)

Sets the lighting interpolation method to be used.

lights_on(service, version, mode, path)

Enables/disables the display of all lights.

set_ambient_color(service, version, mode, path)

Sets the ambient color for the scene.

set_light(service, version, mode, path)

Adds or modifies a directional, colored light.

__init__(service, version, mode, path)#

__init__ method of TUIMenu class.

class headlight_on(service, version, mode, path)#

Bases: TUIMethod

Turns the light that moves with the camera on or off. This is controlled automatically by default.

class lighting_interpolation(service, version, mode, path)#

Bases: TUIMethod

Sets the lighting interpolation method to be used. You can choose automatic, flat, gouraud, or phong. “Automatic” automatically picks the best lighting method for the display in the graphics window. Flat is the most basic method, and the others are more sophisticated and provide smoother gradations of color.

class lights_on(service, version, mode, path)#

Bases: TUIMethod

Enables/disables the display of all lights.

class set_ambient_color(service, version, mode, path)#

Bases: TUIMethod

Sets the ambient color for the scene. The ambient color is the background light color in scene.

class set_light(service, version, mode, path)#

Bases: TUIMethod

Adds or modifies a directional, colored light.