Struct rin_scene::water::Parameters [−][src]
pub struct Parameters {}Show fields
pub frequency: RangedPropertyMut<'static, f32>, pub wave_strength: RangedPropertyMut<'static, f32>, pub speed: RangedPropertyMut<'static, f32>, pub reflective_factor: RangedPropertyMut<'static, f32>, pub normal_scale: RangedPropertyMut<'static, f32>, pub max_visible_depth: RangedPropertyMut<'static, f32>, pub reflection_clip_bias: RangedPropertyMut<'static, f32>, pub refraction_clip_bias: RangedPropertyMut<'static, f32>, pub water_density: RangedPropertyMut<'static, f32>, pub color_tint: WaterColor, pub color_coefficient: WaterColor, pub refraction_color_mix: RangedPropertyMut<'static, f32>, pub reflection_color_mix: RangedPropertyMut<'static, f32>, pub highlights_factor: RangedPropertyMut<'static, f32>, pub highlights_power: RangedPropertyMut<'static, f32>, pub receives_shadows: Property<'static, bool>, pub receives_global_illumination: Property<'static, bool>, pub water_color_tint: Property<'static, Rgb<f32>>, pub water_color_coefficient: Property<'static, Rgb<f32>>, pub shader_precision: Property<'static, ShaderPrecision>,
Fields
frequency: RangedPropertyMut<'static, f32>
wave_strength: RangedPropertyMut<'static, f32>
speed: RangedPropertyMut<'static, f32>
reflective_factor: RangedPropertyMut<'static, f32>
normal_scale: RangedPropertyMut<'static, f32>
max_visible_depth: RangedPropertyMut<'static, f32>
reflection_clip_bias: RangedPropertyMut<'static, f32>
refraction_clip_bias: RangedPropertyMut<'static, f32>
water_density: RangedPropertyMut<'static, f32>
color_tint: WaterColor
color_coefficient: WaterColor
refraction_color_mix: RangedPropertyMut<'static, f32>
reflection_color_mix: RangedPropertyMut<'static, f32>
highlights_factor: RangedPropertyMut<'static, f32>
highlights_power: RangedPropertyMut<'static, f32>
receives_shadows: Property<'static, bool>
receives_global_illumination: Property<'static, bool>
water_color_tint: Property<'static, Rgb<f32>>
water_color_coefficient: Property<'static, Rgb<f32>>
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]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]impl<'a> DebugParameter for Parameters
[src]
impl<'a> DebugParameter for Parameters
[src]fn debug<S: Serializer>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
[src]
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
impl Default for Parameters
[src]
impl Default for Parameters
[src]fn default() -> Parameters
[src]
impl<'de> Deserialize<'de> for Parameters
[src]
impl<'de> Deserialize<'de> for Parameters
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for Parameters
[src]
impl Serialize for Parameters
[src]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>,