Struct rin::scene::light::AreaLight[][src]

pub struct AreaLight { /* fields omitted */ }

Implementations

impl AreaLight[src]

pub fn half_width(
    &self,
    trafo: &Node
) -> Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
[src]

pub fn half_height(
    &self,
    trafo: &Node
) -> Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
[src]

pub fn color(&self) -> &Rgb<f32, LinearRgb>[src]

pub fn strength(&self) -> f32[src]

pub fn width(&self) -> f32[src]

pub fn height(&self) -> f32[src]

pub fn set_color<C>(&mut self, color: &C) where
    C: ToRgb
[src]

pub fn set_width(&mut self, width: f32)[src]

pub fn set_height(&mut self, height: f32)[src]

pub fn set_strength(&mut self, strength: f32)[src]

pub fn debug_geometry(&self) -> Mesh<Vertex3D>[src]

pub fn debug_material<'a, C>(world: &mut C) -> MaterialRef where
    C: CreationContext<'a>, 
[src]

Trait Implementations

impl Changes for AreaLight[src]

impl Clone for AreaLight[src]

impl Component for AreaLight[src]

type Storage = AutoChanged<KeyedDenseVec<usize, AreaLight>, AreaLight>

type MutStorageCacheGuard = ()

impl Debug for AreaLight[src]

impl<'a> DebugParameter for AreaLight[src]

impl<'de> Deserialize<'de> for AreaLight[src]

impl Serialize for AreaLight[src]

impl Copy for AreaLight[src]

Auto Trait Implementations

impl RefUnwindSafe for AreaLight

impl Send for AreaLight

impl Sync for AreaLight

impl Unpin for AreaLight

impl UnwindSafe for AreaLight

Blanket Implementations

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

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

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

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

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

impl<T> DowncastSync for T where
    T: Any + Send + Sync
[src]

impl<T> From<T> for T[src]

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

impl<V> IntoPnt<V> for V[src]

impl<V> IntoVec<V> for V[src]

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<C> ComponentSend for C where
    C: Component + Send
[src]

impl<C> ComponentThreadLocal for C where
    C: Component
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> Slottable for T where
    T: Copy
[src]