Shader

Inheritance diagram of rumba.Shader
class Shader

Gather shading parameters.

Constructors

__init__

Value(: bool) -> None

Methods

diffuse()

Return the diffuse color.

diffuse_texture()

Return the diffuse texture path (empty if no such texture).

metalness()

Return the metalness.

metalness_texture()

Return the metalness texture path (empty if no such texture).

opacity()

Return the opacity.

parameters()

Return the shader parameters.

roughness()

Return the roughness.

roughness_texture()

Return the roughness texture path (empty if no such texture).

set_parameters(parameters)

Set the shader parameters.