Struct rin::scene::light::SpotLightBuilder [−][src]
pub struct SpotLightBuilder<'a, C> where
C: 'a, { /* fields omitted */ }
Implementations
impl<'a, 'c, C> SpotLightBuilder<'a, C> where
C: EntitiesCreationExt<'c>,
[src]
impl<'a, 'c, C> SpotLightBuilder<'a, C> where
C: EntitiesCreationExt<'c>,
[src]pub fn transformation<T>(self, trafo: T) -> SpotLightBuilder<'a, C> where
T: Into<Node>,
[src]
T: Into<Node>,
pub fn transformation_as_child<T>(
self,
trafo: T,
parent: Entity
) -> SpotLightBuilder<'a, C> where
T: Into<Node>,
[src]
self,
trafo: T,
parent: Entity
) -> SpotLightBuilder<'a, C> where
T: Into<Node>,
pub fn dynamic_transformation<T>(self, trafo: T) -> SpotLightBuilder<'a, C> where
T: Into<Node>,
[src]
T: Into<Node>,
pub fn dynamic_transformation_as_child<T>(
self,
trafo: T,
parent: Entity
) -> SpotLightBuilder<'a, C> where
T: Into<Node>,
[src]
self,
trafo: T,
parent: Entity
) -> SpotLightBuilder<'a, C> where
T: Into<Node>,
pub fn invisible(self) -> SpotLightBuilder<'a, C>
[src]
pub fn color<CC>(self, color: CC) -> SpotLightBuilder<'a, C> where
CC: ToRgb,
[src]
CC: ToRgb,
pub fn strength(self, strength: f32) -> SpotLightBuilder<'a, C>
[src]
pub fn radius(self, radius: f32) -> SpotLightBuilder<'a, C>
[src]
pub fn spot_angle(self, angle: Deg<f32>) -> SpotLightBuilder<'a, C>
[src]
pub fn spot_blend(self, spot_blend: f32) -> SpotLightBuilder<'a, C>
[src]
pub fn shadow_map(self, shadow_map: Parameters) -> SpotLightBuilder<'a, C>
[src]
pub fn static_shadow_map(
self,
shadow_map: Parameters
) -> SpotLightBuilder<'a, C>
[src]
self,
shadow_map: Parameters
) -> SpotLightBuilder<'a, C>
pub fn shadow_type(self, shadow_type: Type) -> SpotLightBuilder<'a, C>
[src]
pub fn build(self) -> Entity
[src]
Auto Trait Implementations
impl<'a, C> RefUnwindSafe for SpotLightBuilder<'a, C> where
C: RefUnwindSafe,
C: RefUnwindSafe,
impl<'a, C> Send for SpotLightBuilder<'a, C> where
C: Send,
C: Send,
impl<'a, C> Sync for SpotLightBuilder<'a, C> where
C: Sync,
C: Sync,
impl<'a, C> Unpin for SpotLightBuilder<'a, C>
impl<'a, C> !UnwindSafe for SpotLightBuilder<'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]