

Size = Environment size in the form of a number value in meters. * Rotation = Environment rotation in the form of a float value in [0, 360[. * setSize(.) Set environment size. Path = Path to or base name of the environment image to apply. * setOcclusionGroundShadows(.) Enable or disable occlusion ground shadows. It is only possible when ground shadows are enabled.Įnable = Boolean value for enabling or disabling occlusion ground shadows. * setRotation(.) Set environment rotation. Height = Environment height in the form of a float value in . * setLightingEnvironment(.) Applies an image as the scene's lighting environment. When no path is specified then current lighting environment is used, which is useful when switching from backplate or color background to lighitng environment. Size = Environment ground size in the form of a number larger than zero (in meters). * setHeight(.) Set environment height. Value = Brightness value to set in the form of a float. * setFlattenGround(.) Enable or disable flattening of the ground.Įnable = Boolean value for enabling or disabling flattening of the ground. * setGroundReflections(.) Enable or disable ground reflections.Įnable = Boolean value for enabling or disabling ground reflections. * setGroundShadows(.) Enable or disable ground shadows.Įnable = Boolean value for enabling or disabling ground shadows. * setGroundShadowsColor(.) Apply RGB color as the ground shadows color.Ĭolor = RGB color tuple. * setGroundSize(.) Set environment ground size. Path = Path to or base name of the backplate image. * setBrightness(.) Set environment brightness. setBackgroundColor(.) Apply RGB color as the background color.Ĭolor = RGB color tuple. * setBackplateImage(.) Applies backplate image to the scene. getOcclusionGroundShadows(.) Returns whether occlusion ground shadows are enabled or disabled. getLightingEnvironment(.) Get the environment image. getGroundSize(.) Get environment ground size.

getGroundShadowsColor(.) Get ground shadows color as an RGB tuple. getGroundShadows(.) Returns whether ground shadows are enabled or disabled. getGroundReflections(.) Returns whether ground reflections are enabled or disabled. getFlattenGround(.) Returns whether flattening of the ground is enabled or disabled. getBrightness(.) Get environment brightness in the form of a float value. getBackplateImage(.) Get backplate image, if set. getBackgroundColor(.) Get background color as an RGB tuple.

See help(type(self)) for accurate signature. _init_(self, /, *args, **kwargs) Initialize self. Env encapsulates environment settings in a clear and consise way. Get an instance of the active environment using lux.
