pub trait IHableCurveMethods: IHableCurve {
Show 15 methods
// Provided methods
fn get_white_point(self) -> f32 { ... }
fn set_white_point(self, value: impl Into<f32>) { ... }
fn get_inverse_white_point(self) -> f32 { ... }
fn set_inverse_white_point(self, value: impl Into<f32>) { ... }
fn get_x0(self) -> f32 { ... }
fn set_x0(self, value: impl Into<f32>) { ... }
fn get_x1(self) -> f32 { ... }
fn set_x1(self, value: impl Into<f32>) { ... }
fn ctor(self) { ... }
fn eval(self, x: impl Into<f32>) -> f32 { ... }
fn init(
self,
toe_strength: impl Into<f32>,
toe_length: impl Into<f32>,
shoulder_strength: impl Into<f32>,
shoulder_length: impl Into<f32>,
shoulder_angle: impl Into<f32>,
gamma: impl Into<f32>,
) { ... }
fn init_segments(self, src_params: impl Into<HableCurve_DirectParams>) { ... }
fn solve_ab(
self,
x0: impl Into<f32>,
y0: impl Into<f32>,
m: impl Into<f32>,
) -> (f32, f32) { ... }
fn as_slope_intercept(
self,
x0: impl Into<f32>,
x1: impl Into<f32>,
y0: impl Into<f32>,
y1: impl Into<f32>,
) -> (f32, f32) { ... }
fn eval_derivative_linear_gamma(
self,
m: impl Into<f32>,
b: impl Into<f32>,
g: impl Into<f32>,
x: impl Into<f32>,
) -> f32 { ... }
}Provided Methods§
Sourcefn get_white_point(self) -> f32
fn get_white_point(self) -> f32
get_whitePoint() overload
Sourcefn set_white_point(self, value: impl Into<f32>)
fn set_white_point(self, value: impl Into<f32>)
set_whitePoint(f32) overload
Sourcefn get_inverse_white_point(self) -> f32
fn get_inverse_white_point(self) -> f32
get_inverseWhitePoint() overload
Sourcefn set_inverse_white_point(self, value: impl Into<f32>)
fn set_inverse_white_point(self, value: impl Into<f32>)
set_inverseWhitePoint(f32) overload
Sourcefn init(
self,
toe_strength: impl Into<f32>,
toe_length: impl Into<f32>,
shoulder_strength: impl Into<f32>,
shoulder_length: impl Into<f32>,
shoulder_angle: impl Into<f32>,
gamma: impl Into<f32>,
)
fn init( self, toe_strength: impl Into<f32>, toe_length: impl Into<f32>, shoulder_strength: impl Into<f32>, shoulder_length: impl Into<f32>, shoulder_angle: impl Into<f32>, gamma: impl Into<f32>, )
Init(f32, f32, f32, f32, f32, f32) overload
Sourcefn init_segments(self, src_params: impl Into<HableCurve_DirectParams>)
fn init_segments(self, src_params: impl Into<HableCurve_DirectParams>)
InitSegments(crate::unity_engine::rendering::hablecurve::HableCurve_DirectParams) overload
Sourcefn solve_ab(
self,
x0: impl Into<f32>,
y0: impl Into<f32>,
m: impl Into<f32>,
) -> (f32, f32)
fn solve_ab( self, x0: impl Into<f32>, y0: impl Into<f32>, m: impl Into<f32>, ) -> (f32, f32)
SolveAB(*mutf32, *mutf32, f32, f32, f32) overload
Sourcefn as_slope_intercept(
self,
x0: impl Into<f32>,
x1: impl Into<f32>,
y0: impl Into<f32>,
y1: impl Into<f32>,
) -> (f32, f32)
fn as_slope_intercept( self, x0: impl Into<f32>, x1: impl Into<f32>, y0: impl Into<f32>, y1: impl Into<f32>, ) -> (f32, f32)
AsSlopeIntercept(*mutf32, *mutf32, f32, f32, f32, f32) overload
Sourcefn eval_derivative_linear_gamma(
self,
m: impl Into<f32>,
b: impl Into<f32>,
g: impl Into<f32>,
x: impl Into<f32>,
) -> f32
fn eval_derivative_linear_gamma( self, m: impl Into<f32>, b: impl Into<f32>, g: impl Into<f32>, x: impl Into<f32>, ) -> f32
EvalDerivativeLinearGamma(f32, f32, f32, 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§
impl<__T: IHableCurve> IHableCurveMethods for __T
Available on crate feature
unity_engine-rendering-hablecurve only.