pub enum FirstPersonFlag {
ThirdPersonOnly,
FirstPersonOnly,
Both,
Auto,
}Expand description
How a mesh is treated by the first-person (FPV) camera.
Variants§
ThirdPersonOnly
Render the annotated mesh only for third-person cameras.
FirstPersonOnly
Render the annotated mesh only for first-person cameras.
Both
Render the annotated mesh for both camera modes.
Auto
Split head-weighted triangles automatically for first-person rendering.
Trait Implementations§
Source§impl Clone for FirstPersonFlag
impl Clone for FirstPersonFlag
impl Copy for FirstPersonFlag
Source§impl Debug for FirstPersonFlag
impl Debug for FirstPersonFlag
Source§impl Default for FirstPersonFlag
impl Default for FirstPersonFlag
impl Eq for FirstPersonFlag
Source§impl From<FirstPersonType> for FirstPersonFlag
impl From<FirstPersonType> for FirstPersonFlag
Source§fn from(flag: FirstPersonType) -> Self
fn from(flag: FirstPersonType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FirstPersonFlag
impl PartialEq for FirstPersonFlag
impl StructuralPartialEq for FirstPersonFlag
Auto Trait Implementations§
impl Freeze for FirstPersonFlag
impl RefUnwindSafe for FirstPersonFlag
impl Send for FirstPersonFlag
impl Sync for FirstPersonFlag
impl Unpin for FirstPersonFlag
impl UnsafeUnpin for FirstPersonFlag
impl UnwindSafe for FirstPersonFlag
Blanket Implementations§
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