pub fn environment_sky<'a, 'b>(
    ctx: &Context<'a>,
    handle: Option<&str>,
    angle: Option<f64>,
    exposure: Option<f32>,
    visible: Option<bool>,
    args: Option<&ArgSlice<'b, 'a>>
) -> (String, String)where
    'a: 'b,
Expand description

Convenience method; not part of the official ɴsɪ API.

Creates a physically plausible, procedural sky environment light.

If handle is None a random handle is generated.

Arguments

  • angle – In degrees; specifies how much to rotate the environment around the Y (up) axis.

  • exposure – Scales the intensity in stops or EV values.

  • visible – If the environment is visible to the camera.

Returns handle and the handle of the created shader.

Note that this instances a dlSky shader. Using the returned shader handle you can set more attributes on this node.