Enum TrackBlend
pub enum TrackBlend {
Mix,
Additive,
}Expand description
Re-exported from the runtime: how a track folds onto the tracks below it. How a track folds onto the pose the tracks below it produced.
Variants§
Mix
resolved = lerp(below, track_pose, alpha). The default.
Additive
resolved = below + alpha * (track_pose - setup_pose). For overlays that
offset what is underneath instead of replacing it.
Trait Implementations§
§impl Clone for TrackBlend
impl Clone for TrackBlend
§fn clone(&self) -> TrackBlend
fn clone(&self) -> TrackBlend
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 moreimpl Copy for TrackBlend
§impl Debug for TrackBlend
impl Debug for TrackBlend
impl Eq for TrackBlend
§impl PartialEq for TrackBlend
impl PartialEq for TrackBlend
impl StructuralPartialEq for TrackBlend
Auto Trait Implementations§
impl Freeze for TrackBlend
impl RefUnwindSafe for TrackBlend
impl Send for TrackBlend
impl Sync for TrackBlend
impl Unpin for TrackBlend
impl UnsafeUnpin for TrackBlend
impl UnwindSafe for TrackBlend
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.