pub struct AnimationBlendPoint {
pub value: f32,
pub clip: Option<AssetId>,
}Expand description
One member of a 1D blendspace: a clip pinned at a parameter value.
Fields§
§value: f32Parameter value at which this clip plays alone.
clip: Option<AssetId>The Animation clip at this point. Must target the same SkinnedMesh as the graph.
Trait Implementations§
Source§impl Clone for AnimationBlendPoint
impl Clone for AnimationBlendPoint
Source§fn clone(&self) -> AnimationBlendPoint
fn clone(&self) -> AnimationBlendPoint
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 moreSource§impl Debug for AnimationBlendPoint
impl Debug for AnimationBlendPoint
Source§impl Default for AnimationBlendPoint
impl Default for AnimationBlendPoint
Source§fn default() -> AnimationBlendPoint
fn default() -> AnimationBlendPoint
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AnimationBlendPointwhere
AnimationBlendPoint: Default,
impl<'de> Deserialize<'de> for AnimationBlendPointwhere
AnimationBlendPoint: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AnimationBlendPoint
impl RefUnwindSafe for AnimationBlendPoint
impl Send for AnimationBlendPoint
impl Sync for AnimationBlendPoint
impl Unpin for AnimationBlendPoint
impl UnsafeUnpin for AnimationBlendPoint
impl UnwindSafe for AnimationBlendPoint
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