#[repr(transparent)]pub struct RenderMode(pub i32);Expand description
UnityEngine.RenderMode, how a Canvas is drawn.
Tuple Fields§
§0: i32The raw RenderMode value.
Implementations§
Source§impl RenderMode
impl RenderMode
Sourcepub const SCREEN_SPACE_OVERLAY: Self
pub const SCREEN_SPACE_OVERLAY: Self
Drawn over the whole screen, on top of every camera.
RenderMode value 0.
Sourcepub const SCREEN_SPACE_CAMERA: Self
pub const SCREEN_SPACE_CAMERA: Self
Drawn over the screen by a chosen camera, at a distance in front of it.
RenderMode value 1.
Sourcepub const WORLD_SPACE: Self
pub const WORLD_SPACE: Self
A flat object placed in the scene like any other.
RenderMode value 2.
Trait Implementations§
Source§impl Clone for RenderMode
impl Clone for RenderMode
impl Copy for RenderMode
Source§impl Debug for RenderMode
impl Debug for RenderMode
impl Eq for RenderMode
Source§impl Hash for RenderMode
impl Hash for RenderMode
Source§impl Il2CppValue for RenderMode
impl Il2CppValue for RenderMode
Source§impl PartialEq for RenderMode
impl PartialEq for RenderMode
impl StructuralPartialEq for RenderMode
Auto Trait Implementations§
impl Forget for RenderMode
impl Freeze for RenderMode
impl Move for RenderMode
impl RefUnwindSafe for RenderMode
impl Send for RenderMode
impl Sync for RenderMode
impl Unpin for RenderMode
impl UnsafeUnpin for RenderMode
impl UnwindSafe for RenderMode
Blanket Implementations§
impl<T> AsId for T
impl<T> AsIdSalt for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more