Struct three::light::Hemisphere [] [src]

pub struct Hemisphere { /* fields omitted */ }

HemisphereLight uses two different colors in opposite to Ambient.

The color of each fragment is determined by direction of normal. If the normal points in the direction of the upper hemisphere, the fragment has color of the "sky". If the direction of the normal is opposite, then fragment takes color of the "ground". In other cases, color is determined as interpolation between colors of upper and lower hemispheres, depending on how much the normal is oriented to the upper and the lower hemisphere.

Trait Implementations

impl Clone for Hemisphere
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Hemisphere
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Hemisphere
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for Hemisphere
[src]

impl Hash for Hemisphere
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl AsRef<Base> for Hemisphere
[src]

[src]

Performs the conversion.

impl Object for Hemisphere
[src]

[src]

Converts into the base type.

[src]

Invisible objects are not rendered by cameras.

[src]

Set both position, orientation and scale.

[src]

Set position.

[src]

Set orientation.

[src]

Set scale.

[src]

Set weights.

[src]

Rotates object in the specific direction of target.