Skip to main content

IFloatRangeParameterMethods

Trait IFloatRangeParameterMethods 

Source
pub trait IFloatRangeParameterMethods: IFloatRangeParameter {
    // Provided methods
    fn get_value(self) -> Vector2 { ... }
    fn set_value(self, value: impl Into<Vector2>) { ... }
    fn ctor(
        self,
        value: impl Into<Vector2>,
        min: impl Into<f32>,
        max: impl Into<f32>,
        override_state: impl Into<bool>,
    ) { ... }
    fn interp(
        self,
        from: impl Into<Vector2>,
        to: impl Into<Vector2>,
        t: impl Into<f32>,
    ) { ... }
}

Provided Methods§

Source

fn get_value(self) -> Vector2

get_value() overload

Source

fn set_value(self, value: impl Into<Vector2>)

set_value(crate::unity_engine::vector2::Vector2) overload

Source

fn ctor( self, value: impl Into<Vector2>, min: impl Into<f32>, max: impl Into<f32>, override_state: impl Into<bool>, )

.ctor(crate::unity_engine::vector2::Vector2, f32, f32, bool) overload

Source

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

Interp(crate::unity_engine::vector2::Vector2, crate::unity_engine::vector2::Vector2, 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: IFloatRangeParameter> IFloatRangeParameterMethods for __T

Available on crate feature unity_engine-rendering-floatrangeparameter only.