Struct rin::scene::light::DirectionalLightBuilder [−][src]
pub struct DirectionalLightBuilder<'a, C> where
C: 'a, { /* fields omitted */ }
Implementations
impl<'a, 'c, C> DirectionalLightBuilder<'a, C> where
C: CreationContext<'c>,
[src]
impl<'a, 'c, C> DirectionalLightBuilder<'a, C> where
C: CreationContext<'c>,
[src]pub fn transformation<T>(self, trafo: T) -> DirectionalLightBuilder<'a, C> where
T: Into<Node>,
[src]
T: Into<Node>,
pub fn transformation_as_child<T>(
self,
trafo: T,
parent: Entity
) -> DirectionalLightBuilder<'a, C> where
T: Into<Node>,
[src]
self,
trafo: T,
parent: Entity
) -> DirectionalLightBuilder<'a, C> where
T: Into<Node>,
pub fn dynamic_transformation<T>(
self,
trafo: T
) -> DirectionalLightBuilder<'a, C> where
T: Into<Node>,
[src]
self,
trafo: T
) -> DirectionalLightBuilder<'a, C> where
T: Into<Node>,
pub fn dynamic_transformation_as_child<T>(
self,
trafo: T,
parent: Entity
) -> DirectionalLightBuilder<'a, C> where
T: Into<Node>,
[src]
self,
trafo: T,
parent: Entity
) -> DirectionalLightBuilder<'a, C> where
T: Into<Node>,
pub fn invisible(self) -> DirectionalLightBuilder<'a, C>
[src]
pub fn color<CC>(self, color: CC) -> DirectionalLightBuilder<'a, C> where
CC: ToRgb,
[src]
CC: ToRgb,
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]