pub enum Origin {
Auto,
At(Vec3),
}Expand description
Where the render origin of a scene lies.
Variants§
Auto
The centre of the scene’s world bounds, or zero for an empty scene.
At(Vec3)
A fixed point in world coordinates; At([0.0; 3]) disables the
shift.
Trait Implementations§
impl Copy for Origin
impl StructuralPartialEq for Origin
Auto Trait Implementations§
impl Freeze for Origin
impl RefUnwindSafe for Origin
impl Send for Origin
impl Sync for Origin
impl Unpin for Origin
impl UnwindSafe for Origin
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