#[repr(C)]pub struct LODParameters {
pub m_is_orthographic: i32,
pub m_camera_position: Vector3,
pub m_field_of_view: f32,
pub m_ortho_size: f32,
pub m_camera_pixel_height: i32,
}Expand description
Fields§
§m_is_orthographic: i32§m_camera_position: Vector3§m_field_of_view: f32§m_ortho_size: f32§m_camera_pixel_height: i32Implementations§
Source§impl LODParameters
impl LODParameters
Sourcepub fn equals(&mut self, other: impl Into<LODParameters>) -> bool
pub fn equals(&mut self, other: impl Into<LODParameters>) -> bool
Equals(crate::unity_engine::rendering::lodparameters::LODParameters) overload
Sourcepub fn equals_2(&mut self, obj: impl Into<Object>) -> bool
pub fn equals_2(&mut self, obj: impl Into<Object>) -> bool
Equals(crate::system::object::Object) overload
Sourcepub fn get_hash_code(&mut self) -> i32
pub fn get_hash_code(&mut self) -> i32
GetHashCode() overload
Source§impl LODParameters
impl LODParameters
pub fn equals_method_info() -> &'static MethodInfo
pub fn equals_2_method_info() -> &'static MethodInfo
pub fn get_hash_code_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl ClassIdentity for LODParameters
impl ClassIdentity for LODParameters
Source§impl Clone for LODParameters
impl Clone for LODParameters
Source§fn clone(&self) -> LODParameters
fn clone(&self) -> LODParameters
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 LODParameters
Auto Trait Implementations§
impl Freeze for LODParameters
impl RefUnwindSafe for LODParameters
impl Send for LODParameters
impl Sync for LODParameters
impl Unpin for LODParameters
impl UnwindSafe for LODParameters
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)