pub struct Camera { /* private fields */ }Implementations§
Source§impl Camera
impl Camera
pub fn type_(&self) -> u32
pub fn set_type_(&mut self, value: u32)
pub fn field_of_view(&self) -> f32
pub fn set_field_of_view(&mut self, value: f32)
pub fn far_clip(&self) -> f32
pub fn set_far_clip(&mut self, value: f32)
pub fn near_clip(&self) -> f32
pub fn set_near_clip(&mut self, value: f32)
Sourcepub fn positions(&self) -> Ref<'_, AnimationTrackM2CameraSpline>
pub fn positions(&self) -> Ref<'_, AnimationTrackM2CameraSpline>
Borrows the field in place — no copy, no allocation.
pub fn positions_mut(&mut self) -> RefMut<'_, AnimationTrackM2CameraSpline>
pub fn position_base(&self) -> Vector3f
pub fn set_position_base(&mut self, value: Vector3f)
Sourcepub fn target_positions(&self) -> Ref<'_, AnimationTrackM2CameraSpline>
pub fn target_positions(&self) -> Ref<'_, AnimationTrackM2CameraSpline>
Borrows the field in place — no copy, no allocation.
pub fn target_positions_mut( &mut self, ) -> RefMut<'_, AnimationTrackM2CameraSpline>
pub fn target_position_base(&self) -> Vector3f
pub fn set_target_position_base(&mut self, value: Vector3f)
Sourcepub fn roll(&self) -> Ref<'_, AnimationTrackF32>
pub fn roll(&self) -> Ref<'_, AnimationTrackF32>
Borrows the field in place — no copy, no allocation.
pub fn roll_mut(&mut self) -> RefMut<'_, AnimationTrackF32>
Sourcepub fn field_of_view_track(&self) -> Ref<'_, AnimationTrackF32>
pub fn field_of_view_track(&self) -> Ref<'_, AnimationTrackF32>
Borrows the field in place — no copy, no allocation.
pub fn field_of_view_track_mut(&mut self) -> RefMut<'_, AnimationTrackF32>
Trait Implementations§
impl Send for Camera
Auto Trait Implementations§
impl !Sync for Camera
impl Freeze for Camera
impl RefUnwindSafe for Camera
impl Unpin for Camera
impl UnsafeUnpin for Camera
impl UnwindSafe for Camera
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