#[repr(C)]pub struct LayerMask {
pub m_mask: i32,
}Expand description
Fields§
§m_mask: i32Implementations§
Source§impl LayerMask
impl LayerMask
Sourcepub fn op_implicit(mask: impl Into<LayerMask>) -> i32
pub fn op_implicit(mask: impl Into<LayerMask>) -> i32
op_Implicit(crate::unity_engine::layermask::LayerMask) overload
Sourcepub fn op_implicit_2(int_val: impl Into<i32>) -> LayerMask
pub fn op_implicit_2(int_val: impl Into<i32>) -> LayerMask
op_Implicit(i32) overload
Sourcepub fn layer_to_name(layer: impl Into<i32>) -> Il2CppString
pub fn layer_to_name(layer: impl Into<i32>) -> Il2CppString
LayerToName(i32) overload
Sourcepub fn name_to_layer(layer_name: impl Into<Il2CppString>) -> i32
pub fn name_to_layer(layer_name: impl Into<Il2CppString>) -> i32
NameToLayer(::unity::Il2CppString) overload
Sourcepub fn get_mask(layer_names: impl Into<Array<Il2CppString>>) -> i32
pub fn get_mask(layer_names: impl Into<Array<Il2CppString>>) -> i32
GetMask(::unity::Array<::unity::Il2CppString>) overload
Source§impl LayerMask
impl LayerMask
pub fn op_implicit_method_info() -> &'static MethodInfo
pub fn op_implicit_2_method_info() -> &'static MethodInfo
pub fn get_value_method_info() -> &'static MethodInfo
pub fn layer_to_name_method_info() -> &'static MethodInfo
pub fn name_to_layer_method_info() -> &'static MethodInfo
pub fn get_mask_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl ClassIdentity for LayerMask
impl ClassIdentity for LayerMask
impl Copy for LayerMask
Auto Trait Implementations§
impl Freeze for LayerMask
impl RefUnwindSafe for LayerMask
impl Send for LayerMask
impl Sync for LayerMask
impl Unpin for LayerMask
impl UnwindSafe for LayerMask
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)