pub struct Input {
pub meta: MetaInput,
pub m: Vec<Model>,
pub v: View,
pub p: Projection,
}Expand description
The input of the Vera core. This is what you send when calling functions like create() or reset().
It contains everything that will be drawn and updated.
Fields§
§meta: MetaInputMetadata for the animation
m: Vec<Model>All models, with their transformations
v: ViewThe view, with its transformations
p: ProjectionThe projection, with its transformations By default, the visible 3D frustrum corresponds to Transformation::Orthographic(-1.0, 1.0, -1.0, 1.0, 1.0, -1.0)
Auto Trait Implementations§
impl Freeze for Input
impl RefUnwindSafe for Input
impl Send for Input
impl Sync for Input
impl Unpin for Input
impl UnwindSafe for Input
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