pub struct GazeState {
pub yaw: f32,
pub pitch: f32,
pub looking_at_camera: bool,
pub blink: f32,
}Expand description
Gaze direction state
Fields§
§yaw: f32Horizontal angle in radians (-π to π, 0 = forward)
pitch: f32Vertical angle in radians (-π/2 to π/2, 0 = forward)
looking_at_camera: boolIs the person looking at the camera/screen?
blink: f32Blink state (0.0 = open, 1.0 = closed)
Implementations§
Trait Implementations§
impl Copy for GazeState
Auto Trait Implementations§
impl Freeze for GazeState
impl RefUnwindSafe for GazeState
impl Send for GazeState
impl Sync for GazeState
impl Unpin for GazeState
impl UnsafeUnpin for GazeState
impl UnwindSafe for GazeState
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