Struct BlendPoint2D
#[repr(C)]pub struct BlendPoint2D {
pub pos: [f32; 2],
pub clip_index: u16,
pub playback_speed: f32,
}Expand description
A 2D parameter sample point inside a BlendSpace2D.
Fields§
§pos: [f32; 2]2D parameter coordinates [x, y] (e.g. [strafe_x, forward_z]).
clip_index: u16Clip index in the character’s animation clip table.
playback_speed: f32Playback speed multiplier (1.0 = authored speed).
Trait Implementations§
§impl Clone for BlendPoint2D
impl Clone for BlendPoint2D
§fn clone(&self) -> BlendPoint2D
fn clone(&self) -> BlendPoint2D
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 BlendPoint2D
§impl Debug for BlendPoint2D
impl Debug for BlendPoint2D
§impl Default for BlendPoint2D
impl Default for BlendPoint2D
§fn default() -> BlendPoint2D
fn default() -> BlendPoint2D
Returns the “default value” for a type. Read more
§impl PartialEq for BlendPoint2D
impl PartialEq for BlendPoint2D
impl StructuralPartialEq for BlendPoint2D
Auto Trait Implementations§
impl Freeze for BlendPoint2D
impl RefUnwindSafe for BlendPoint2D
impl Send for BlendPoint2D
impl Sync for BlendPoint2D
impl Unpin for BlendPoint2D
impl UnsafeUnpin for BlendPoint2D
impl UnwindSafe for BlendPoint2D
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