Struct rin::scene::water::Parameters [−][src]
pub struct Parameters {}Show fields
pub frequency: RangedPropertyMut<'static, f32, f32>, pub wave_strength: RangedPropertyMut<'static, f32, f32>, pub speed: RangedPropertyMut<'static, f32, f32>, pub reflective_factor: RangedPropertyMut<'static, f32, f32>, pub normal_scale: RangedPropertyMut<'static, f32, f32>, pub max_visible_depth: RangedPropertyMut<'static, f32, f32>, pub reflection_clip_bias: RangedPropertyMut<'static, f32, f32>, pub refraction_clip_bias: RangedPropertyMut<'static, f32, f32>, pub water_density: RangedPropertyMut<'static, f32, f32>, pub color_tint: WaterColor, pub color_coefficient: WaterColor, pub refraction_color_mix: RangedPropertyMut<'static, f32, f32>, pub reflection_color_mix: RangedPropertyMut<'static, f32, f32>, pub highlights_factor: RangedPropertyMut<'static, f32, f32>, pub highlights_power: RangedPropertyMut<'static, f32, f32>, pub receives_shadows: Property<'static, bool>, pub receives_global_illumination: Property<'static, bool>, pub water_color_tint: Property<'static, Rgb<f32, Srgb>>, pub water_color_coefficient: Property<'static, Rgb<f32, Srgb>>, pub shader_precision: Property<'static, ShaderPrecision>,
Fields
frequency: RangedPropertyMut<'static, f32, f32>
wave_strength: RangedPropertyMut<'static, f32, f32>
speed: RangedPropertyMut<'static, f32, f32>
reflective_factor: RangedPropertyMut<'static, f32, f32>
normal_scale: RangedPropertyMut<'static, f32, f32>
max_visible_depth: RangedPropertyMut<'static, f32, f32>
reflection_clip_bias: RangedPropertyMut<'static, f32, f32>
refraction_clip_bias: RangedPropertyMut<'static, f32, f32>
water_density: RangedPropertyMut<'static, f32, f32>
color_tint: WaterColor
color_coefficient: WaterColor
refraction_color_mix: RangedPropertyMut<'static, f32, f32>
reflection_color_mix: RangedPropertyMut<'static, f32, f32>
highlights_factor: RangedPropertyMut<'static, f32, f32>
highlights_power: RangedPropertyMut<'static, f32, f32>
receives_shadows: Property<'static, bool>
receives_global_illumination: Property<'static, bool>
water_color_tint: Property<'static, Rgb<f32, Srgb>>
water_color_coefficient: Property<'static, Rgb<f32, Srgb>>
shader_precision: Property<'static, ShaderPrecision>
Implementations
impl Parameters
[src]
impl Parameters
[src]pub fn new() -> Parameters
[src]
pub fn parameters_changed(&self) -> Stream<'static, ()>
[src]
pub fn lighting_parameters_changed(&self) -> Stream<'static, ()>
[src]
Trait Implementations
impl Clone for Parameters
[src]
impl Clone for Parameters
[src]pub fn clone(&self) -> Parameters
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Component for Parameters
[src]
impl Component for Parameters
[src]type Storage = KeyedDenseVec<usize, Parameters>
type MutStorageCacheGuard = ()
pub fn type_name() -> &'static str
[src]
pub fn is_reference() -> bool
[src]
pub fn id() -> TypeId
[src]
pub fn references_other(
) -> Option<Box<dyn Fn(&Storages, &Entity) + 'static, Global>>
[src]
) -> Option<Box<dyn Fn(&Storages, &Entity) + 'static, Global>>
impl<'a> DebugParameter for Parameters
[src]
impl<'a> DebugParameter for Parameters
[src]pub fn debug<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
[src]
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
impl Default for Parameters
[src]
impl Default for Parameters
[src]pub fn default() -> Parameters
[src]
impl<'de> Deserialize<'de> for Parameters
[src]
impl<'de> Deserialize<'de> for Parameters
[src]pub fn deserialize<__D>(
__deserializer: __D
) -> Result<Parameters, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<Parameters, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl Serialize for Parameters
[src]
impl Serialize for Parameters
[src]pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Auto Trait Implementations
impl !RefUnwindSafe for Parameters
impl !Send for Parameters
impl !Sync for Parameters
impl Unpin for Parameters
impl !UnwindSafe for Parameters
Blanket Implementations
impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]
impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]pub fn erased_serialize(
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
[src]
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
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]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<C> ComponentThreadLocal for C where
C: Component,
[src]
C: Component,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,