Struct truster::light::PointLight[][src]

pub struct PointLight { /* fields omitted */ }
Expand description

Light at a point in 3D space with a color.

Implementations

Creates and returns a new point light at the given position with the given color.

Returns self’s position.

Returns self’s color.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.