Skip to main content

engage/generated/unity_engine/rendering/
hablecurve.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-rendering-hablecurve-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::{
9        object::{IObject, Object},
10        valuetype::{IValueType, ValueType},
11    };
12
13    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/hablecurve/HableCurve_DirectParams.md"))]
14    #[repr(C)]
15    #[derive(::core::clone::Clone, ::core::marker::Copy)]
16    pub struct HableCurve_DirectParams {
17        pub x0: f32,
18        pub y0: f32,
19        pub x1: f32,
20        pub y1: f32,
21        pub w: f32,
22        pub overshoot_x: f32,
23        pub overshoot_y: f32,
24        pub gamma: f32,
25    }
26    impl ::unity::ClassIdentity for HableCurve_DirectParams {
27        const NAME: &'static str = "HableCurve.DirectParams";
28        const NAMESPACE: &'static str = "UnityEngine.Rendering";
29
30        fn class() -> ::unity::Class {
31            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
32            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
33        }
34    }
35    impl ::unity::IlType for HableCurve_DirectParams {
36        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
37            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
38        }
39    }
40
41    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/hablecurve/HableCurve.md"))]
42    #[::unity::class(namespace = "UnityEngine.Rendering", name = "HableCurve")]
43    #[parent(crate::system::object::Object)]
44    pub struct HableCurve {
45        #[offset(32)]
46        #[rename(name = "segments")]
47        pub segments: ::unity::Array<crate::unity_engine::rendering::hablecurve::HableCurve_Segment>,
48        #[offset(40)]
49        #[rename(name = "uniforms")]
50        pub uniforms: crate::unity_engine::rendering::hablecurve::HableCurve_Uniforms,
51    }
52
53    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/hablecurve/HableCurve_Segment.md"))]
54    #[::unity::class(namespace = "UnityEngine.Rendering", name = "HableCurve.Segment")]
55    #[parent(crate::system::object::Object)]
56    pub struct HableCurve_Segment {
57        #[offset(16)]
58        #[rename(name = "offsetX")]
59        pub offset_x: f32,
60        #[offset(20)]
61        #[rename(name = "offsetY")]
62        pub offset_y: f32,
63        #[offset(24)]
64        #[rename(name = "scaleX")]
65        pub scale_x: f32,
66        #[offset(28)]
67        #[rename(name = "scaleY")]
68        pub scale_y: f32,
69        #[offset(32)]
70        #[rename(name = "lnA")]
71        pub ln_a: f32,
72        #[offset(36)]
73        #[rename(name = "B")]
74        pub b: f32,
75    }
76
77    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/hablecurve/HableCurve_Uniforms.md"))]
78    #[::unity::class(namespace = "UnityEngine.Rendering", name = "HableCurve.Uniforms")]
79    #[parent(crate::system::object::Object)]
80    pub struct HableCurve_Uniforms {
81        #[offset(16)]
82        #[rename(name = "parent")]
83        pub parent: crate::unity_engine::rendering::hablecurve::HableCurve,
84    }
85}
86
87#[cfg(feature = "unity_engine-rendering-hablecurve-types")]
88pub use __types::*;
89
90#[cfg(feature = "unity_engine-rendering-hablecurve")]
91pub trait IHableCurveMethods: IHableCurve {
92    #[doc = "`get_whitePoint()` overload"]
93    fn get_white_point(self) -> f32 {
94        unsafe {
95            let __receiver = <HableCurve as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
96            ::unity::il2cpp_call!((::unity::module_base()+0x30aa660usize)as*mut u8,f32;
97(HableCurve)__receiver)
98        }
99    }
100    #[doc = "`set_whitePoint(f32)` overload"]
101    fn set_white_point(self, value: impl ::core::convert::Into<f32>) -> () {
102        unsafe {
103            let __receiver = <HableCurve as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
104            ::unity::il2cpp_call!((::unity::module_base()+0x30aa670usize)as*mut u8,();
105(HableCurve)__receiver,(f32)::core::convert::Into::into(value))
106        }
107    }
108    #[doc = "`get_inverseWhitePoint()` overload"]
109    fn get_inverse_white_point(self) -> f32 {
110        unsafe {
111            let __receiver = <HableCurve as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
112            ::unity::il2cpp_call!((::unity::module_base()+0x30aa680usize)as*mut u8,f32;
113(HableCurve)__receiver)
114        }
115    }
116    #[doc = "`set_inverseWhitePoint(f32)` overload"]
117    fn set_inverse_white_point(self, value: impl ::core::convert::Into<f32>) -> () {
118        unsafe {
119            let __receiver = <HableCurve as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
120            ::unity::il2cpp_call!((::unity::module_base()+0x30aa690usize)as*mut u8,();
121(HableCurve)__receiver,(f32)::core::convert::Into::into(value))
122        }
123    }
124    #[doc = "`get_x0()` overload"]
125    fn get_x0(self) -> f32 {
126        unsafe {
127            let __receiver = <HableCurve as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
128            ::unity::il2cpp_call!((::unity::module_base()+0x30aa6a0usize)as*mut u8,f32;
129(HableCurve)__receiver)
130        }
131    }
132    #[doc = "`set_x0(f32)` overload"]
133    fn set_x0(self, value: impl ::core::convert::Into<f32>) -> () {
134        unsafe {
135            let __receiver = <HableCurve as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
136            ::unity::il2cpp_call!((::unity::module_base()+0x30aa6b0usize)as*mut u8,();
137(HableCurve)__receiver,(f32)::core::convert::Into::into(value))
138        }
139    }
140    #[doc = "`get_x1()` overload"]
141    fn get_x1(self) -> f32 {
142        unsafe {
143            let __receiver = <HableCurve as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
144            ::unity::il2cpp_call!((::unity::module_base()+0x30aa6c0usize)as*mut u8,f32;
145(HableCurve)__receiver)
146        }
147    }
148    #[doc = "`set_x1(f32)` overload"]
149    fn set_x1(self, value: impl ::core::convert::Into<f32>) -> () {
150        unsafe {
151            let __receiver = <HableCurve as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
152            ::unity::il2cpp_call!((::unity::module_base()+0x30aa6d0usize)as*mut u8,();
153(HableCurve)__receiver,(f32)::core::convert::Into::into(value))
154        }
155    }
156    #[doc = "`.ctor()` overload"]
157    fn ctor(self) -> () {
158        unsafe {
159            let __receiver = <HableCurve as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
160            ::unity::il2cpp_call!((::unity::module_base()+0x30aa6e0usize)as*mut u8,();
161(HableCurve)__receiver)
162        }
163    }
164    #[doc = "`Eval(f32)` overload"]
165    fn eval(self, x: impl ::core::convert::Into<f32>) -> f32 {
166        unsafe {
167            let __receiver = <HableCurve as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
168            ::unity::il2cpp_call!((::unity::module_base()+0x30aa8b0usize)as*mut u8,f32;
169(HableCurve)__receiver,(f32)::core::convert::Into::into(x))
170        }
171    }
172    #[doc = "`Init(f32, f32, f32, f32, f32, f32)` overload"]
173    fn init(
174        self,
175        toe_strength: impl ::core::convert::Into<f32>,
176        toe_length: impl ::core::convert::Into<f32>,
177        shoulder_strength: impl ::core::convert::Into<f32>,
178        shoulder_length: impl ::core::convert::Into<f32>,
179        shoulder_angle: impl ::core::convert::Into<f32>,
180        gamma: impl ::core::convert::Into<f32>,
181    ) -> () {
182        unsafe {
183            let __receiver = <HableCurve as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
184            ::unity::il2cpp_call!((::unity::module_base()+0x30aa920usize)as*mut u8,();
185(HableCurve)__receiver,(f32)::core::convert::Into::into(toe_strength),(f32)::core::convert::Into::into(toe_length),(f32)::core::convert::Into::into(shoulder_strength),(f32)::core::convert::Into::into(shoulder_length),(f32)::core::convert::Into::into(shoulder_angle),(f32)::core::convert::Into::into(gamma))
186        }
187    }
188    #[doc = "`InitSegments(crate::unity_engine::rendering::hablecurve::HableCurve_DirectParams)` overload"]
189    fn init_segments(self, src_params: impl ::core::convert::Into<crate::unity_engine::rendering::hablecurve::HableCurve_DirectParams>) -> () {
190        unsafe {
191            let __receiver = <HableCurve as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
192            ::unity::il2cpp_call!((::unity::module_base()+0x30aaa80usize)as*mut u8,();
193(HableCurve)__receiver,(crate::unity_engine::rendering::hablecurve::HableCurve_DirectParams)::core::convert::Into::into(src_params))
194        }
195    }
196    #[doc = "`SolveAB(*mutf32, *mutf32, f32, f32, f32)` overload"]
197    fn solve_ab(self, x0: impl ::core::convert::Into<f32>, y0: impl ::core::convert::Into<f32>, m: impl ::core::convert::Into<f32>) -> (f32, f32) {
198        unsafe {
199            let __receiver = <HableCurve as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
200            let mut __out_0 = ::core::mem::MaybeUninit::<f32>::uninit();
201            let mut __out_1 = ::core::mem::MaybeUninit::<f32>::uninit();
202            ::unity::il2cpp_call!((::unity::module_base()+0x30aae10usize)as*mut u8,();
203(HableCurve)__receiver,(*mut f32)__out_0.as_mut_ptr(),(*mut f32)__out_1.as_mut_ptr(),(f32)::core::convert::Into::into(x0),(f32)::core::convert::Into::into(y0),(f32)::core::convert::Into::into(m));
204            (__out_0.assume_init(), __out_1.assume_init())
205        }
206    }
207    #[doc = "`AsSlopeIntercept(*mutf32, *mutf32, f32, f32, f32, f32)` overload"]
208    fn as_slope_intercept(
209        self,
210        x0: impl ::core::convert::Into<f32>,
211        x1: impl ::core::convert::Into<f32>,
212        y0: impl ::core::convert::Into<f32>,
213        y1: impl ::core::convert::Into<f32>,
214    ) -> (f32, f32) {
215        unsafe {
216            let __receiver = <HableCurve as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
217            let mut __out_0 = ::core::mem::MaybeUninit::<f32>::uninit();
218            let mut __out_1 = ::core::mem::MaybeUninit::<f32>::uninit();
219            ::unity::il2cpp_call!((::unity::module_base()+0x30aada0usize)as*mut u8,();
220(HableCurve)__receiver,(*mut f32)__out_0.as_mut_ptr(),(*mut f32)__out_1.as_mut_ptr(),(f32)::core::convert::Into::into(x0),(f32)::core::convert::Into::into(x1),(f32)::core::convert::Into::into(y0),(f32)::core::convert::Into::into(y1));
221            (__out_0.assume_init(), __out_1.assume_init())
222        }
223    }
224    #[doc = "`EvalDerivativeLinearGamma(f32, f32, f32, f32)` overload"]
225    fn eval_derivative_linear_gamma(
226        self,
227        m: impl ::core::convert::Into<f32>,
228        b: impl ::core::convert::Into<f32>,
229        g: impl ::core::convert::Into<f32>,
230        x: impl ::core::convert::Into<f32>,
231    ) -> f32 {
232        unsafe {
233            let __receiver = <HableCurve as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
234            ::unity::il2cpp_call!((::unity::module_base()+0x30aadd0usize)as*mut u8,f32;
235(HableCurve)__receiver,(f32)::core::convert::Into::into(m),(f32)::core::convert::Into::into(b),(f32)::core::convert::Into::into(g),(f32)::core::convert::Into::into(x))
236        }
237    }
238}
239
240#[cfg(feature = "unity_engine-rendering-hablecurve")]
241impl<__T: IHableCurve> IHableCurveMethods for __T {}
242
243#[cfg(feature = "unity_engine-rendering-hablecurve")]
244impl HableCurve {
245    pub fn get_white_point_method_info() -> &'static ::unity::il2cpp::MethodInfo {
246        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
247    }
248
249    pub fn set_white_point_method_info() -> &'static ::unity::il2cpp::MethodInfo {
250        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
251    }
252
253    pub fn get_inverse_white_point_method_info() -> &'static ::unity::il2cpp::MethodInfo {
254        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
255    }
256
257    pub fn set_inverse_white_point_method_info() -> &'static ::unity::il2cpp::MethodInfo {
258        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
259    }
260
261    pub fn get_x0_method_info() -> &'static ::unity::il2cpp::MethodInfo {
262        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
263    }
264
265    pub fn set_x0_method_info() -> &'static ::unity::il2cpp::MethodInfo {
266        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
267    }
268
269    pub fn get_x1_method_info() -> &'static ::unity::il2cpp::MethodInfo {
270        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
271    }
272
273    pub fn set_x1_method_info() -> &'static ::unity::il2cpp::MethodInfo {
274        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
275    }
276
277    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
278        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
279    }
280
281    pub fn eval_method_info() -> &'static ::unity::il2cpp::MethodInfo {
282        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
283    }
284
285    pub fn init_method_info() -> &'static ::unity::il2cpp::MethodInfo {
286        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
287    }
288
289    pub fn init_segments_method_info() -> &'static ::unity::il2cpp::MethodInfo {
290        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
291    }
292
293    pub fn solve_ab_method_info() -> &'static ::unity::il2cpp::MethodInfo {
294        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
295    }
296
297    pub fn as_slope_intercept_method_info() -> &'static ::unity::il2cpp::MethodInfo {
298        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
299    }
300
301    pub fn eval_derivative_linear_gamma_method_info() -> &'static ::unity::il2cpp::MethodInfo {
302        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
303    }
304}
305
306#[cfg(feature = "unity_engine-rendering-hablecurve")]
307impl HableCurve {
308    #[doc = "`.ctor()` — no args"]
309    pub fn new() -> Self {
310        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
311            panic!(
312                "{}
313::{}
314 failed to instantiate",
315                ::core::stringify!(HableCurve),
316                ::core::stringify!(new),
317            )
318        });
319        <Self as IHableCurveMethods>::ctor(this);
320        this
321    }
322}
323
324#[cfg(feature = "unity_engine-rendering-hablecurve")]
325pub trait IHableCurve_SegmentMethods: IHableCurve_Segment {
326    #[doc = "`Eval(f32)` overload"]
327    fn eval(self, x: impl ::core::convert::Into<f32>) -> f32 {
328        unsafe {
329            let __receiver = <HableCurve_Segment as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
330            ::unity::il2cpp_call!((::unity::module_base()+0x33ed500usize)as*mut u8,f32;
331(HableCurve_Segment)__receiver,(f32)::core::convert::Into::into(x))
332        }
333    }
334    #[doc = "`.ctor()` overload"]
335    fn ctor(self) -> () {
336        unsafe {
337            let __receiver = <HableCurve_Segment as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
338            ::unity::il2cpp_call!((::unity::module_base()+0x33ed570usize)as*mut u8,();
339(HableCurve_Segment)__receiver)
340        }
341    }
342}
343
344#[cfg(feature = "unity_engine-rendering-hablecurve")]
345impl<__T: IHableCurve_Segment> IHableCurve_SegmentMethods for __T {}
346
347#[cfg(feature = "unity_engine-rendering-hablecurve")]
348impl HableCurve_Segment {
349    pub fn eval_method_info() -> &'static ::unity::il2cpp::MethodInfo {
350        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
351    }
352
353    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
354        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
355    }
356}
357
358#[cfg(feature = "unity_engine-rendering-hablecurve")]
359impl HableCurve_Segment {
360    #[doc = "`.ctor()` — no args"]
361    pub fn new() -> Self {
362        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
363            panic!(
364                "{}
365::{}
366 failed to instantiate",
367                ::core::stringify!(HableCurve_Segment),
368                ::core::stringify!(new),
369            )
370        });
371        <Self as IHableCurve_SegmentMethods>::ctor(this);
372        this
373    }
374}
375
376#[cfg(feature = "unity_engine-rendering-hablecurve")]
377pub trait IHableCurve_UniformsMethods: IHableCurve_Uniforms {
378    #[doc = "`.ctor(crate::unity_engine::rendering::hablecurve::HableCurve)` overload"]
379    fn ctor(self, parent: impl ::core::convert::Into<crate::unity_engine::rendering::hablecurve::HableCurve>) -> () {
380        unsafe {
381            let __receiver = <HableCurve_Uniforms as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
382            ::unity::il2cpp_call!((::unity::module_base()+0x33ed580usize)as*mut u8,();
383(HableCurve_Uniforms)__receiver,(crate::unity_engine::rendering::hablecurve::HableCurve)::core::convert::Into::into(parent))
384        }
385    }
386    #[doc = "`get_curve()` overload"]
387    fn get_curve(self) -> crate::unity_engine::vector4::Vector4 {
388        unsafe {
389            let __receiver = <HableCurve_Uniforms as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
390            ::unity::il2cpp_call!((::unity::module_base()+0x33ed5c0usize)as*mut u8,crate::unity_engine::vector4::Vector4;
391(HableCurve_Uniforms)__receiver)
392        }
393    }
394    #[doc = "`get_toeSegmentA()` overload"]
395    fn get_toe_segment_a(self) -> crate::unity_engine::vector4::Vector4 {
396        unsafe {
397            let __receiver = <HableCurve_Uniforms as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
398            ::unity::il2cpp_call!((::unity::module_base()+0x33ed600usize)as*mut u8,crate::unity_engine::vector4::Vector4;
399(HableCurve_Uniforms)__receiver)
400        }
401    }
402    #[doc = "`get_toeSegmentB()` overload"]
403    fn get_toe_segment_b(self) -> crate::unity_engine::vector4::Vector4 {
404        unsafe {
405            let __receiver = <HableCurve_Uniforms as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
406            ::unity::il2cpp_call!((::unity::module_base()+0x33ed660usize)as*mut u8,crate::unity_engine::vector4::Vector4;
407(HableCurve_Uniforms)__receiver)
408        }
409    }
410    #[doc = "`get_midSegmentA()` overload"]
411    fn get_mid_segment_a(self) -> crate::unity_engine::vector4::Vector4 {
412        unsafe {
413            let __receiver = <HableCurve_Uniforms as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
414            ::unity::il2cpp_call!((::unity::module_base()+0x33ed6c0usize)as*mut u8,crate::unity_engine::vector4::Vector4;
415(HableCurve_Uniforms)__receiver)
416        }
417    }
418    #[doc = "`get_midSegmentB()` overload"]
419    fn get_mid_segment_b(self) -> crate::unity_engine::vector4::Vector4 {
420        unsafe {
421            let __receiver = <HableCurve_Uniforms as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
422            ::unity::il2cpp_call!((::unity::module_base()+0x33ed720usize)as*mut u8,crate::unity_engine::vector4::Vector4;
423(HableCurve_Uniforms)__receiver)
424        }
425    }
426    #[doc = "`get_shoSegmentA()` overload"]
427    fn get_sho_segment_a(self) -> crate::unity_engine::vector4::Vector4 {
428        unsafe {
429            let __receiver = <HableCurve_Uniforms as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
430            ::unity::il2cpp_call!((::unity::module_base()+0x33ed780usize)as*mut u8,crate::unity_engine::vector4::Vector4;
431(HableCurve_Uniforms)__receiver)
432        }
433    }
434    #[doc = "`get_shoSegmentB()` overload"]
435    fn get_sho_segment_b(self) -> crate::unity_engine::vector4::Vector4 {
436        unsafe {
437            let __receiver = <HableCurve_Uniforms as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
438            ::unity::il2cpp_call!((::unity::module_base()+0x33ed7e0usize)as*mut u8,crate::unity_engine::vector4::Vector4;
439(HableCurve_Uniforms)__receiver)
440        }
441    }
442}
443
444#[cfg(feature = "unity_engine-rendering-hablecurve")]
445impl<__T: IHableCurve_Uniforms> IHableCurve_UniformsMethods for __T {}
446
447#[cfg(feature = "unity_engine-rendering-hablecurve")]
448impl HableCurve_Uniforms {
449    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
450        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
451    }
452
453    pub fn get_curve_method_info() -> &'static ::unity::il2cpp::MethodInfo {
454        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
455    }
456
457    pub fn get_toe_segment_a_method_info() -> &'static ::unity::il2cpp::MethodInfo {
458        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
459    }
460
461    pub fn get_toe_segment_b_method_info() -> &'static ::unity::il2cpp::MethodInfo {
462        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
463    }
464
465    pub fn get_mid_segment_a_method_info() -> &'static ::unity::il2cpp::MethodInfo {
466        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
467    }
468
469    pub fn get_mid_segment_b_method_info() -> &'static ::unity::il2cpp::MethodInfo {
470        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
471    }
472
473    pub fn get_sho_segment_a_method_info() -> &'static ::unity::il2cpp::MethodInfo {
474        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
475    }
476
477    pub fn get_sho_segment_b_method_info() -> &'static ::unity::il2cpp::MethodInfo {
478        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
479    }
480}
481
482#[cfg(feature = "unity_engine-rendering-hablecurve")]
483impl HableCurve_Uniforms {
484    #[doc = "`.ctor(crate::unity_engine::rendering::hablecurve::HableCurve)` — overload selector"]
485    pub fn new(parent: crate::unity_engine::rendering::hablecurve::HableCurve) -> Self {
486        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
487            panic!(
488                "{}
489::{}
490 failed to instantiate",
491                ::core::stringify!(HableCurve_Uniforms),
492                ::core::stringify!(new),
493            )
494        });
495        <Self as IHableCurve_UniformsMethods>::ctor(this, parent);
496        this
497    }
498}
499
500#[cfg(feature = "unity_engine-rendering-hablecurve")]
501#[doc(hidden)]
502pub mod prelude {
503    pub use super::{
504        HableCurve, HableCurve_DirectParams, HableCurve_Segment, HableCurve_Uniforms, IHableCurve, IHableCurveMethods, IHableCurve_Segment,
505        IHableCurve_SegmentMethods, IHableCurve_Uniforms, IHableCurve_UniformsMethods,
506    };
507    #[cfg(feature = "system-object")]
508    pub use crate::system::object::IObjectMethods;
509    #[cfg(feature = "system-valuetype")]
510    pub use crate::system::valuetype::IValueTypeMethods;
511    pub use crate::system::{object::IObject, valuetype::IValueType};
512}