pub struct CameraRigState { /* private fields */ }Expand description
Solved world-space camera pose produced by CameraRig3D each frame.
Implementations§
Source§impl CameraRigState
Conversion into Camera3D for CameraRigState.
impl CameraRigState
Conversion into Camera3D for CameraRigState.
Source§impl CameraRigState
Implements impl #impl_generics #name #ty_generics #where_clause.
impl CameraRigState
Implements impl #impl_generics #name #ty_generics #where_clause.
pub fn get_position(&self) -> Vec3
pub fn get_mut_position(&mut self) -> &mut Vec3
pub fn set_position(&mut self, val: Vec3) -> &mut Self
pub fn get_target(&self) -> Vec3
pub fn get_mut_target(&mut self) -> &mut Vec3
pub fn set_target(&mut self, val: Vec3) -> &mut Self
pub fn get_rotation(&self) -> Quat
pub fn get_mut_rotation(&mut self) -> &mut Quat
pub fn set_rotation(&mut self, val: Quat) -> &mut Self
pub fn get_yaw(&self) -> f32
pub fn get_mut_yaw(&mut self) -> &mut f32
pub fn set_yaw(&mut self, val: f32) -> &mut Self
pub fn get_pitch(&self) -> f32
pub fn get_mut_pitch(&mut self) -> &mut f32
pub fn set_pitch(&mut self, val: f32) -> &mut Self
pub fn get_roll(&self) -> f32
pub fn get_mut_roll(&mut self) -> &mut f32
pub fn set_roll(&mut self, val: f32) -> &mut Self
pub fn get_fov_deg(&self) -> f32
pub fn get_mut_fov_deg(&mut self) -> &mut f32
pub fn set_fov_deg(&mut self, val: f32) -> &mut Self
Trait Implementations§
Source§impl Clone for CameraRigState
impl Clone for CameraRigState
impl Copy for CameraRigState
Source§impl Debug for CameraRigState
impl Debug for CameraRigState
Source§impl PartialEq for CameraRigState
impl PartialEq for CameraRigState
impl StructuralPartialEq for CameraRigState
Auto Trait Implementations§
impl Forget for CameraRigState
impl Freeze for CameraRigState
impl Move for CameraRigState
impl RefUnwindSafe for CameraRigState
impl Send for CameraRigState
impl Sync for CameraRigState
impl Unpin for CameraRigState
impl UnsafeUnpin for CameraRigState
impl UnwindSafe for CameraRigState
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