Struct rin_scene::light::DirectionalLightBuilder [−][src]
pub struct DirectionalLightBuilder<'a, C: 'a> { /* fields omitted */ }
Implementations
impl<'a, 'c, C: CreationContext<'c>> DirectionalLightBuilder<'a, C>
[src]
impl<'a, 'c, C: CreationContext<'c>> DirectionalLightBuilder<'a, C>
[src]pub fn transformation<T: Into<Node>>(
self,
trafo: T
) -> DirectionalLightBuilder<'a, C>
[src]
self,
trafo: T
) -> DirectionalLightBuilder<'a, C>
pub fn transformation_as_child<T: Into<Node>>(
self,
trafo: T,
parent: Entity
) -> DirectionalLightBuilder<'a, C>
[src]
self,
trafo: T,
parent: Entity
) -> DirectionalLightBuilder<'a, C>
pub fn dynamic_transformation<T: Into<Node>>(
self,
trafo: T
) -> DirectionalLightBuilder<'a, C>
[src]
self,
trafo: T
) -> DirectionalLightBuilder<'a, C>
pub fn dynamic_transformation_as_child<T: Into<Node>>(
self,
trafo: T,
parent: Entity
) -> DirectionalLightBuilder<'a, C>
[src]
self,
trafo: T,
parent: Entity
) -> DirectionalLightBuilder<'a, C>
pub fn invisible(self) -> DirectionalLightBuilder<'a, C>
[src]
pub fn color<CC: ToRgb>(self, color: CC) -> DirectionalLightBuilder<'a, C>
[src]
pub fn strength(self, strength: f32) -> DirectionalLightBuilder<'a, C>
[src]
pub fn radius(self, radius: f32) -> DirectionalLightBuilder<'a, C>
[src]
pub fn shadow_map(
self,
shadow_map: Parameters
) -> DirectionalLightBuilder<'a, C>
[src]
self,
shadow_map: Parameters
) -> DirectionalLightBuilder<'a, C>
pub fn shadow_map_cascades<P>(
self,
maps: P,
cascades: Cascades
) -> DirectionalLightBuilder<'a, C> where
P: IntoIterator<Item = Parameters>,
[src]
self,
maps: P,
cascades: Cascades
) -> DirectionalLightBuilder<'a, C> where
P: IntoIterator<Item = Parameters>,
pub fn static_shadow_map(
self,
shadow_map: Parameters
) -> DirectionalLightBuilder<'a, C>
[src]
self,
shadow_map: Parameters
) -> DirectionalLightBuilder<'a, C>
pub fn static_shadow_map_cascades<P>(
self,
cascades: P
) -> DirectionalLightBuilder<'a, C> where
P: IntoIterator<Item = Parameters>,
[src]
self,
cascades: P
) -> DirectionalLightBuilder<'a, C> where
P: IntoIterator<Item = Parameters>,
pub fn shadow_type(self, shadow_type: Type) -> DirectionalLightBuilder<'a, C>
[src]
pub fn build(self) -> Entity
[src]
Auto Trait Implementations
impl<'a, C> RefUnwindSafe for DirectionalLightBuilder<'a, C> where
C: RefUnwindSafe,
C: RefUnwindSafe,
impl<'a, C> Send for DirectionalLightBuilder<'a, C> where
C: Send,
C: Send,
impl<'a, C> Sync for DirectionalLightBuilder<'a, C> where
C: Sync,
C: Sync,
impl<'a, C> Unpin for DirectionalLightBuilder<'a, C>
impl<'a, C> !UnwindSafe for DirectionalLightBuilder<'a, C>
Blanket Implementations
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[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]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[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]