pub struct PathPoint {
pub position: Vec3,
pub target: Vec3,
pub fov: f32,
pub duration: f32,
pub ease: PathEasing,
}Expand description
A control point on the cinematic camera path.
Fields§
§position: Vec3§target: Vec3§fov: f32§duration: f32Time in seconds to arrive at this point from the previous one.
ease: PathEasingEasing for this segment.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PathPoint
impl RefUnwindSafe for PathPoint
impl Send for PathPoint
impl Sync for PathPoint
impl Unpin for PathPoint
impl UnsafeUnpin for PathPoint
impl UnwindSafe for PathPoint
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