lights#
Bases:
TUIMenuEnters 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__ method of TUIMenu class.
Bases:
TUIMethodTurns the light that moves with the camera on or off. This is controlled automatically by default.
Bases:
TUIMethodSets 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.
Bases:
TUIMethodEnables/disables the display of all lights.
Bases:
TUIMethodSets the ambient color for the scene. The ambient color is the background light color in scene.
Bases:
TUIMethodAdds or modifies a directional, colored light.