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: WaterColorcolor_coefficient: WaterColorrefraction_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]

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 Component for Parameters[src]

type Storage = DenseVec<Parameters>

type MutStorageCacheGuard = ()

impl Debug for Parameters[src]

impl<'a> DebugParameter for Parameters[src]

impl Default for Parameters[src]

impl<'de> Deserialize<'de> 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> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<V> IntoPnt<V> for V[src]

impl<V> IntoVec<V> for V[src]

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> Serialize for T where
    T: Serialize + ?Sized
[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]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<C> ComponentThreadLocal for C where
    C: Component
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]