#[repr(C)]pub struct Bounds {
pub m_center: Vector3,
pub m_extents: Vector3,
}Expand description
Fields§
§m_center: Vector3§m_extents: Vector3Implementations§
Source§impl Bounds
impl Bounds
Sourcepub fn op_equality(lhs: impl Into<Bounds>, rhs: impl Into<Bounds>) -> bool
pub fn op_equality(lhs: impl Into<Bounds>, rhs: impl Into<Bounds>) -> bool
op_Equality(crate::unity_engine::bounds::Bounds, crate::unity_engine::bounds::Bounds) overload
Sourcepub fn op_inequality(lhs: impl Into<Bounds>, rhs: impl Into<Bounds>) -> bool
pub fn op_inequality(lhs: impl Into<Bounds>, rhs: impl Into<Bounds>) -> bool
op_Inequality(crate::unity_engine::bounds::Bounds, crate::unity_engine::bounds::Bounds) overload
Source§impl Bounds
impl Bounds
Sourcepub fn ctor(&mut self, center: impl Into<Vector3>, size: impl Into<Vector3>)
pub fn ctor(&mut self, center: impl Into<Vector3>, size: impl Into<Vector3>)
.ctor(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3) 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<Bounds>) -> bool
pub fn equals_2(&mut self, other: impl Into<Bounds>) -> bool
Equals(crate::unity_engine::bounds::Bounds) overload
Sourcepub fn get_center(&mut self) -> Vector3
pub fn get_center(&mut self) -> Vector3
get_center() overload
Sourcepub fn set_center(&mut self, value: impl Into<Vector3>)
pub fn set_center(&mut self, value: impl Into<Vector3>)
set_center(crate::unity_engine::vector3::Vector3) overload
Sourcepub fn set_size(&mut self, value: impl Into<Vector3>)
pub fn set_size(&mut self, value: impl Into<Vector3>)
set_size(crate::unity_engine::vector3::Vector3) overload
Sourcepub fn get_extents(&mut self) -> Vector3
pub fn get_extents(&mut self) -> Vector3
get_extents() overload
Sourcepub fn set_extents(&mut self, value: impl Into<Vector3>)
pub fn set_extents(&mut self, value: impl Into<Vector3>)
set_extents(crate::unity_engine::vector3::Vector3) overload
Sourcepub fn set_min(&mut self, value: impl Into<Vector3>)
pub fn set_min(&mut self, value: impl Into<Vector3>)
set_min(crate::unity_engine::vector3::Vector3) overload
Sourcepub fn set_max(&mut self, value: impl Into<Vector3>)
pub fn set_max(&mut self, value: impl Into<Vector3>)
set_max(crate::unity_engine::vector3::Vector3) overload
Sourcepub fn set_min_max(&mut self, min: impl Into<Vector3>, max: impl Into<Vector3>)
pub fn set_min_max(&mut self, min: impl Into<Vector3>, max: impl Into<Vector3>)
SetMinMax(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3) overload
Sourcepub fn encapsulate(&mut self, point: impl Into<Vector3>)
pub fn encapsulate(&mut self, point: impl Into<Vector3>)
Encapsulate(crate::unity_engine::vector3::Vector3) overload
Sourcepub fn encapsulate_2(&mut self, bounds: impl Into<Bounds>)
pub fn encapsulate_2(&mut self, bounds: impl Into<Bounds>)
Encapsulate(crate::unity_engine::bounds::Bounds) overload
Sourcepub fn intersects(&mut self, bounds: impl Into<Bounds>) -> bool
pub fn intersects(&mut self, bounds: impl Into<Bounds>) -> bool
Intersects(crate::unity_engine::bounds::Bounds) overload
Sourcepub fn to_string(&mut self) -> Il2CppString
pub fn to_string(&mut self) -> Il2CppString
ToString() overload
Source§impl Bounds
impl Bounds
pub fn ctor_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 get_center_method_info() -> &'static MethodInfo
pub fn set_center_method_info() -> &'static MethodInfo
pub fn get_size_method_info() -> &'static MethodInfo
pub fn set_size_method_info() -> &'static MethodInfo
pub fn get_extents_method_info() -> &'static MethodInfo
pub fn set_extents_method_info() -> &'static MethodInfo
pub fn get_min_method_info() -> &'static MethodInfo
pub fn set_min_method_info() -> &'static MethodInfo
pub fn get_max_method_info() -> &'static MethodInfo
pub fn set_max_method_info() -> &'static MethodInfo
pub fn op_equality_method_info() -> &'static MethodInfo
pub fn op_inequality_method_info() -> &'static MethodInfo
pub fn set_min_max_method_info() -> &'static MethodInfo
pub fn encapsulate_method_info() -> &'static MethodInfo
pub fn encapsulate_2_method_info() -> &'static MethodInfo
pub fn intersects_method_info() -> &'static MethodInfo
pub fn to_string_method_info() -> &'static MethodInfo
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Bounds
impl RefUnwindSafe for Bounds
impl Send for Bounds
impl Sync for Bounds
impl Unpin for Bounds
impl UnwindSafe for Bounds
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
§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)
clone_to_uninit)