Struct caper::lighting::DirectionalLightBuilder [] [src]

pub struct DirectionalLightBuilder { /* fields omitted */ }

Builder for DirectionalLight.

Methods

impl DirectionalLightBuilder
[src]

[src]

The name of the directional light

[src]

The direction the light is facing

[src]

Whether the light is active

[src]

Builds a new DirectionalLight.

Errors

If a required field has not been initialized.

Trait Implementations

impl Default for DirectionalLightBuilder
[src]

[src]

Returns the "default value" for a type. Read more

impl Clone for DirectionalLightBuilder
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more