Skip to main content

IColorParameterMethods

Trait IColorParameterMethods 

Source
pub trait IColorParameterMethods: IColorParameter {
    // Provided methods
    fn ctor(self, value: impl Into<Color>, override_state: impl Into<bool>) { ... }
    fn ctor_2(
        self,
        value: impl Into<Color>,
        hdr: impl Into<bool>,
        show_alpha: impl Into<bool>,
        show_eye_dropper: impl Into<bool>,
        override_state: impl Into<bool>,
    ) { ... }
    fn interp(
        self,
        from: impl Into<Color>,
        to: impl Into<Color>,
        t: impl Into<f32>,
    ) { ... }
}

Provided Methods§

Source

fn ctor(self, value: impl Into<Color>, override_state: impl Into<bool>)

.ctor(crate::unity_engine::color::Color, bool) overload

Source

fn ctor_2( self, value: impl Into<Color>, hdr: impl Into<bool>, show_alpha: impl Into<bool>, show_eye_dropper: impl Into<bool>, override_state: impl Into<bool>, )

.ctor(crate::unity_engine::color::Color, bool, bool, bool, bool) overload

Source

fn interp(self, from: impl Into<Color>, to: impl Into<Color>, t: impl Into<f32>)

Interp(crate::unity_engine::color::Color, crate::unity_engine::color::Color, f32) overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IColorParameter> IColorParameterMethods for __T

Available on crate feature unity_engine-rendering-colorparameter only.