pub enum FbxAnimChannelPath {
Translation,
Rotation,
Scale,
MorphWeight,
}Available on crate features
fbx-reader or fbx-writer only.Expand description
Animated TRS property of a node.
Variants§
Translation
Lcl Translation.
Rotation
Lcl Rotation.
Scale
Lcl Scaling.
MorphWeight
DeformPercent on a blend-shape channel.
Implementations§
Source§impl FbxAnimChannelPath
impl FbxAnimChannelPath
Sourcepub fn property_name(self) -> &'static str
pub fn property_name(self) -> &'static str
Returns the FBX property name this channel drives.
Sourcepub fn from_property_name(name: &str) -> Option<Self>
pub fn from_property_name(name: &str) -> Option<Self>
Parses an FBX connection property name into a channel path.
Sourcepub fn component_count(self) -> usize
pub fn component_count(self) -> usize
Number of output components for scalar and TRS paths.
Trait Implementations§
Source§impl Clone for FbxAnimChannelPath
impl Clone for FbxAnimChannelPath
Source§fn clone(&self) -> FbxAnimChannelPath
fn clone(&self) -> FbxAnimChannelPath
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 FbxAnimChannelPath
Source§impl Debug for FbxAnimChannelPath
impl Debug for FbxAnimChannelPath
impl Eq for FbxAnimChannelPath
Source§impl Hash for FbxAnimChannelPath
impl Hash for FbxAnimChannelPath
Source§impl PartialEq for FbxAnimChannelPath
impl PartialEq for FbxAnimChannelPath
impl StructuralPartialEq for FbxAnimChannelPath
Auto Trait Implementations§
impl Freeze for FbxAnimChannelPath
impl RefUnwindSafe for FbxAnimChannelPath
impl Send for FbxAnimChannelPath
impl Sync for FbxAnimChannelPath
impl Unpin for FbxAnimChannelPath
impl UnsafeUnpin for FbxAnimChannelPath
impl UnwindSafe for FbxAnimChannelPath
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