blenderproc.python.modules.provider.sampler.Color module¶
-
class
blenderproc.python.modules.provider.sampler.Color.
Color
(config)[source]¶ Bases:
blenderproc.python.modules.main.Provider.Provider
Uniformly samples a 4-dimensional RGBA vector.
Example 1: Sample a RGBA grey color value using [min, max] range.
{ "provider": "sampler.Color", "min": [0, 0, 0, 1], "max": [1, 1, 1, 1], "grey": True, }
Configuration:
Parameter Description Type min A list of four values, describing the minimum values of R, G, B and A components. Range: [0; 1]. list max A list of four values, describing the maximum values of R, G, B and A components. Range: [0; 1]. list grey Sample grey values only. Default: False. bool