Enum opengex::structure::LightType [] [src]

pub enum LightType {
    Infinite,
    Point,
    Spot,
}

This is an helper-enum representing all different types of lights that a LightObject can emit.

Variants

The light souArce is to be treated as if it were infinitely far away so its rays are parallel. In object space, the rays point in the direction of the negative z-axis.

The lght souArce is a point light that radiates in all directions.

The light source is a spot light that radiates from a single points byt in a limited range of directions In object space, the primary direction is the negative z-axis.