#[repr(C)]pub struct SortingSettings {
pub m_world_to_camera_matrix: Matrix4x4,
pub m_camera_position: Vector3,
pub m_custom_axis: Vector3,
pub m_criteria: SortingCriteria,
pub m_distance_metric: DistanceMetric,
pub m_previous_vp_matrix: Matrix4x4,
pub m_non_jittered_vp_matrix: Matrix4x4,
}Expand description
Fields§
§m_world_to_camera_matrix: Matrix4x4§m_camera_position: Vector3§m_custom_axis: Vector3§m_criteria: SortingCriteria§m_distance_metric: DistanceMetric§m_previous_vp_matrix: Matrix4x4§m_non_jittered_vp_matrix: Matrix4x4Implementations§
Source§impl SortingSettings
impl SortingSettings
Sourcepub fn ctor(&mut self, camera: impl Into<Camera>)
pub fn ctor(&mut self, camera: impl Into<Camera>)
.ctor(crate::unity_engine::camera::Camera) overload
Sourcepub fn set_custom_axis(&mut self, value: impl Into<Vector3>)
pub fn set_custom_axis(&mut self, value: impl Into<Vector3>)
set_customAxis(crate::unity_engine::vector3::Vector3) overload
Sourcepub fn get_criteria(&mut self) -> SortingCriteria
pub fn get_criteria(&mut self) -> SortingCriteria
get_criteria() overload
Sourcepub fn set_criteria(&mut self, value: impl Into<SortingCriteria>)
pub fn set_criteria(&mut self, value: impl Into<SortingCriteria>)
set_criteria(crate::unity_engine::rendering::sortingcriteria::SortingCriteria) overload
Sourcepub fn set_distance_metric(&mut self, value: impl Into<DistanceMetric>)
pub fn set_distance_metric(&mut self, value: impl Into<DistanceMetric>)
set_distanceMetric(crate::unity_engine::rendering::distancemetric::DistanceMetric) overload
Sourcepub fn equals(&mut self, other: impl Into<SortingSettings>) -> bool
pub fn equals(&mut self, other: impl Into<SortingSettings>) -> bool
Equals(crate::unity_engine::rendering::sortingsettings::SortingSettings) 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 SortingSettings
impl SortingSettings
pub fn ctor_method_info() -> &'static MethodInfo
pub fn set_custom_axis_method_info() -> &'static MethodInfo
pub fn get_criteria_method_info() -> &'static MethodInfo
pub fn set_criteria_method_info() -> &'static MethodInfo
pub fn set_distance_metric_method_info() -> &'static MethodInfo
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 SortingSettings
impl ClassIdentity for SortingSettings
Source§impl Clone for SortingSettings
impl Clone for SortingSettings
Source§fn clone(&self) -> SortingSettings
fn clone(&self) -> SortingSettings
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 SortingSettings
Auto Trait Implementations§
impl Freeze for SortingSettings
impl RefUnwindSafe for SortingSettings
impl Send for SortingSettings
impl Sync for SortingSettings
impl Unpin for SortingSettings
impl UnwindSafe for SortingSettings
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)