pub struct ParamBinding {
pub node: u32,
pub param_name: ParamName,
pub values: BindingValues,
pub is_set: Vec<Vec<bool>>,
pub interpolate_mode: Interpolation,
}Expand description
Binding between a parameter and a node property. Defines what property is animated and with what values.
Fields§
§node: u32UUID of the target node to be animated.
param_name: ParamNameSpecific node property (TransformTX, Deform, Opacity, etc).
values: BindingValuesValues sampled over the parameter’s axis-point grid.
Interpolated between grid points according to interpolate_mode.
is_set: Vec<Vec<bool>>Grid of explicitly set points: [x_axis_point][y_axis_point] = true if the value was authored (false = interpolated by the runtime).
interpolate_mode: InterpolationInterpolation type between grid points.
Trait Implementations§
Source§impl Clone for ParamBinding
impl Clone for ParamBinding
Source§fn clone(&self) -> ParamBinding
fn clone(&self) -> ParamBinding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ParamBinding
impl RefUnwindSafe for ParamBinding
impl Send for ParamBinding
impl Sync for ParamBinding
impl Unpin for ParamBinding
impl UnsafeUnpin for ParamBinding
impl UnwindSafe for ParamBinding
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