pub struct GenericBinding {
pub path: u32,
pub attribute: u32,
pub type_id: i64,
pub is_pptr: bool,
}Expand description
One curve binding of a clip (genericBindings).
Fields§
§path: u32The CRC-32 of the target’s path below the Animator’s GameObject.
attribute: u32The attribute: for a Transform (type_id 4) 1 position, 2 rotation, 3 scale, 4 Euler angles; else the
property’s hash.
type_id: i64The target’s class id (4 Transform, 95 Animator, 137 SkinnedMeshRenderer, …).
is_pptr: boolWhether the curve drives an object reference (isPPtrCurve); such clips are refused by ClipData::read.
Implementations§
Trait Implementations§
Source§impl Clone for GenericBinding
impl Clone for GenericBinding
Source§impl Debug for GenericBinding
impl Debug for GenericBinding
impl Eq for GenericBinding
Source§impl PartialEq for GenericBinding
impl PartialEq for GenericBinding
impl StructuralPartialEq for GenericBinding
Auto Trait Implementations§
impl Freeze for GenericBinding
impl RefUnwindSafe for GenericBinding
impl Send for GenericBinding
impl Sync for GenericBinding
impl Unpin for GenericBinding
impl UnsafeUnpin for GenericBinding
impl UnwindSafe for GenericBinding
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.