#[repr(C)]pub struct Keyframe {
pub m_time: f32,
pub m_value: f32,
pub m_in_tangent: f32,
pub m_out_tangent: f32,
pub m_weighted_mode: i32,
pub m_in_weight: f32,
pub m_out_weight: f32,
}Expand description
Fields§
§m_time: f32§m_value: f32§m_in_tangent: f32§m_out_tangent: f32§m_weighted_mode: i32§m_in_weight: f32§m_out_weight: f32Implementations§
Source§impl Keyframe
impl Keyframe
Sourcepub fn ctor_2(
&mut self,
time: impl Into<f32>,
value: impl Into<f32>,
in_tangent: impl Into<f32>,
out_tangent: impl Into<f32>,
)
pub fn ctor_2( &mut self, time: impl Into<f32>, value: impl Into<f32>, in_tangent: impl Into<f32>, out_tangent: impl Into<f32>, )
.ctor(f32, f32, f32, f32) overload
Sourcepub fn get_in_tangent(&mut self) -> f32
pub fn get_in_tangent(&mut self) -> f32
get_inTangent() overload
Sourcepub fn set_in_tangent(&mut self, value: impl Into<f32>)
pub fn set_in_tangent(&mut self, value: impl Into<f32>)
set_inTangent(f32) overload
Sourcepub fn get_out_tangent(&mut self) -> f32
pub fn get_out_tangent(&mut self) -> f32
get_outTangent() overload
Sourcepub fn set_out_tangent(&mut self, value: impl Into<f32>)
pub fn set_out_tangent(&mut self, value: impl Into<f32>)
set_outTangent(f32) overload
Source§impl Keyframe
impl Keyframe
pub fn ctor_method_info() -> &'static MethodInfo
pub fn ctor_2_method_info() -> &'static MethodInfo
pub fn get_time_method_info() -> &'static MethodInfo
pub fn set_time_method_info() -> &'static MethodInfo
pub fn get_value_method_info() -> &'static MethodInfo
pub fn set_value_method_info() -> &'static MethodInfo
pub fn get_in_tangent_method_info() -> &'static MethodInfo
pub fn set_in_tangent_method_info() -> &'static MethodInfo
pub fn get_out_tangent_method_info() -> &'static MethodInfo
pub fn set_out_tangent_method_info() -> &'static MethodInfo
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Keyframe
impl RefUnwindSafe for Keyframe
impl Send for Keyframe
impl Sync for Keyframe
impl Unpin for Keyframe
impl UnwindSafe for Keyframe
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)