Enum OrthogonalCoordinateSystem
#[repr(i32)]pub enum OrthogonalCoordinateSystem {
Absolute = 0,
Relative = 1,
}Expand description
Specifies the available orthogonal coordinate systems.
Variants§
Absolute = 0
Absolute orthogonal projection sets the camera to use pixel coordinates.
Relative = 1
Relative orthogonal projection sets the camera to display an area whose width is -1..1 scaled with the value of the OrthogonalPlaneHeightProperty.
Implementations§
§impl OrthogonalCoordinateSystem
impl OrthogonalCoordinateSystem
pub fn as_str(self) -> &'static str
pub fn convert(num: i32) -> OrthogonalCoordinateSystem
Trait Implementations§
§impl Clone for OrthogonalCoordinateSystem
impl Clone for OrthogonalCoordinateSystem
§fn clone(&self) -> OrthogonalCoordinateSystem
fn clone(&self) -> OrthogonalCoordinateSystem
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for OrthogonalCoordinateSystem
impl Debug for OrthogonalCoordinateSystem
§impl Display for OrthogonalCoordinateSystem
impl Display for OrthogonalCoordinateSystem
§impl PartialEq for OrthogonalCoordinateSystem
impl PartialEq for OrthogonalCoordinateSystem
§impl VariantConstraint for OrthogonalCoordinateSystem
impl VariantConstraint for OrthogonalCoordinateSystem
§type DataArg<'a> = OrthogonalCoordinateSystem
type DataArg<'a> = OrthogonalCoordinateSystem
Specifies the type of an argument that provides a value to
Variant.
Generally, this type matches Self, except for KanziString, Resource, and ResourceId. Read more§fn as_arg(
&self,
) -> <OrthogonalCoordinateSystem as VariantConstraint>::DataArg<'_>
fn as_arg( &self, ) -> <OrthogonalCoordinateSystem as VariantConstraint>::DataArg<'_>
impl Copy for OrthogonalCoordinateSystem
impl Eq for OrthogonalCoordinateSystem
impl PropertyTypeConstraint for OrthogonalCoordinateSystem
impl StructuralPartialEq for OrthogonalCoordinateSystem
Auto Trait Implementations§
impl Freeze for OrthogonalCoordinateSystem
impl RefUnwindSafe for OrthogonalCoordinateSystem
impl Send for OrthogonalCoordinateSystem
impl Sync for OrthogonalCoordinateSystem
impl Unpin for OrthogonalCoordinateSystem
impl UnwindSafe for OrthogonalCoordinateSystem
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