Struct caper::lighting::DirectionalLight [] [src]

pub struct DirectionalLight {
    pub name: String,
    pub dir: Vector3,
    pub active: bool,
}

Struct for defining a directional light

Fields

The name of the directional light

The direction the light is facing

Whether the light is active

Trait Implementations

impl Clone for DirectionalLight
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for DirectionalLight
[src]

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

This method tests for !=.