#[repr(C)]pub struct SphericalHarmonicsL2 {Show 27 fields
pub shr0: f32,
pub shr1: f32,
pub shr2: f32,
pub shr3: f32,
pub shr4: f32,
pub shr5: f32,
pub shr6: f32,
pub shr7: f32,
pub shr8: f32,
pub shg0: f32,
pub shg1: f32,
pub shg2: f32,
pub shg3: f32,
pub shg4: f32,
pub shg5: f32,
pub shg6: f32,
pub shg7: f32,
pub shg8: f32,
pub shb0: f32,
pub shb1: f32,
pub shb2: f32,
pub shb3: f32,
pub shb4: f32,
pub shb5: f32,
pub shb6: f32,
pub shb7: f32,
pub shb8: f32,
}Expand description
Fields§
§shr0: f32§shr1: f32§shr2: f32§shr3: f32§shr4: f32§shr5: f32§shr6: f32§shr7: f32§shr8: f32§shg0: f32§shg1: f32§shg2: f32§shg3: f32§shg4: f32§shg5: f32§shg6: f32§shg7: f32§shg8: f32§shb0: f32§shb1: f32§shb2: f32§shb3: f32§shb4: f32§shb5: f32§shb6: f32§shb7: f32§shb8: f32Implementations§
Source§impl SphericalHarmonicsL2
impl SphericalHarmonicsL2
Sourcepub fn op_equality(
lhs: impl Into<SphericalHarmonicsL2>,
rhs: impl Into<SphericalHarmonicsL2>,
) -> bool
pub fn op_equality( lhs: impl Into<SphericalHarmonicsL2>, rhs: impl Into<SphericalHarmonicsL2>, ) -> bool
op_Equality(crate::unity_engine::rendering::sphericalharmonicsl2::SphericalHarmonicsL2, crate::unity_engine::rendering::sphericalharmonicsl2::SphericalHarmonicsL2) overload
Source§impl SphericalHarmonicsL2
impl SphericalHarmonicsL2
Sourcepub fn get_item(
&mut self,
rgb: impl Into<i32>,
coefficient: impl Into<i32>,
) -> f32
pub fn get_item( &mut self, rgb: impl Into<i32>, coefficient: impl Into<i32>, ) -> f32
get_Item(i32, i32) overload
Sourcepub fn get_hash_code(&mut self) -> i32
pub fn get_hash_code(&mut self) -> i32
GetHashCode() overload
Sourcepub fn equals(&mut self, other: impl Into<Object>) -> bool
pub fn equals(&mut self, other: impl Into<Object>) -> bool
Equals(crate::system::object::Object) overload
Sourcepub fn equals_2(&mut self, other: impl Into<SphericalHarmonicsL2>) -> bool
pub fn equals_2(&mut self, other: impl Into<SphericalHarmonicsL2>) -> bool
Equals(crate::unity_engine::rendering::sphericalharmonicsl2::SphericalHarmonicsL2) overload
Source§impl SphericalHarmonicsL2
impl SphericalHarmonicsL2
pub fn get_item_method_info() -> &'static MethodInfo
pub fn get_hash_code_method_info() -> &'static MethodInfo
pub fn equals_method_info() -> &'static MethodInfo
pub fn equals_2_method_info() -> &'static MethodInfo
pub fn op_equality_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl ClassIdentity for SphericalHarmonicsL2
impl ClassIdentity for SphericalHarmonicsL2
Source§impl Clone for SphericalHarmonicsL2
impl Clone for SphericalHarmonicsL2
Source§fn clone(&self) -> SphericalHarmonicsL2
fn clone(&self) -> SphericalHarmonicsL2
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SphericalHarmonicsL2
Auto Trait Implementations§
impl Freeze for SphericalHarmonicsL2
impl RefUnwindSafe for SphericalHarmonicsL2
impl Send for SphericalHarmonicsL2
impl Sync for SphericalHarmonicsL2
impl Unpin for SphericalHarmonicsL2
impl UnwindSafe for SphericalHarmonicsL2
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)