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