Struct three::HemisphereLight [] [src]

pub struct HemisphereLight { /* fields omitted */ }

HemisphereLight uses two different colors in opposite to AmbientLight.

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.

Methods from Deref<Target = Object>

Invisible objects are not rendered by cameras.

Rotates object in the specific direction of target.

Set both position, orientation and scale.

Set position.

Set orientation.

Set scale.

Get actual information about itself from the scene.

Panics

Panics if scene doesn't have this Object.

Trait Implementations

impl AsRef<NodePointer> for HemisphereLight
[src]

Performs the conversion.

impl Deref for HemisphereLight
[src]

The resulting type after dereferencing

The method called to dereference a value

impl DerefMut for HemisphereLight
[src]

The method called to mutably dereference a value