[][src]Struct rin::gl::PointLight

pub struct PointLight { /* fields omitted */ }

A point light is a light with a position that emits light in all directions

Methods

impl PointLight
[src]

Create a new point light

Color of this light

Constant attenuation

Linear attenuation

Quadratic attenuation

Multiplier of the base color

Radius, used for soft shadows

Trait Implementations

impl NodeRef for PointLight
[src]

Returns the local position of this node

Returns the orientation of this node as a quaternion which is how it's stored internally Read more

Returns the orientation of this node as a Rotation3. Read more

Returns the current local scale

The node orientation x axis

The node orientation y axis

The node orientation z axis

Local transformation matrix

Global transformation matrix

Global position of this node

Global orientation of this node

Global scale of this node

Inverse local transformation of this node Read more

Inverse global transformation of this node Read more

impl NodeMut for PointLight
[src]

Updates the internal matrices including the glonal matrices using the optional parent passed as argument Read more

Changes the orientation of the node to look at the passed position using the up vector

Rotate this note a certain angle around the axis of rotation

Append the passed quaternion to the current local orientation

rotate this node around it's local x axis

rotate this node around it's local y axis

rotate this node around it's local z axis

Sets the local scale

Append a translation to the current local position

Sets the local position of this node

Sets the orientation for this node from an angle and axis of rotation

Sets the orientation for this node from a quaternion

impl Render3d for PointLight
[src]

impl Light for PointLight
[src]

Auto Trait Implementations

impl Send for PointLight

impl Sync for PointLight

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> SetParameter for T
[src]

Sets value as a parameter of self.

impl<V> IntoVec for V
[src]

impl<V> IntoPnt for V
[src]

impl<T> Same for T
[src]

Should always be Self

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>, 
[src]