pub struct AnimationLayer(pub OwnedObject);Tuple Fields§
§0: OwnedObjectImplementations§
Source§impl AnimationLayer
impl AnimationLayer
pub fn inner(&self) -> &OwnedObject
pub fn into_inner(self) -> OwnedObject
pub fn properties(&self) -> &HashMap<String, Property>
pub fn property(&self, name: &str) -> Option<&Property>
Sourcepub fn weight(&self) -> f32
pub fn weight(&self) -> f32
FBX SDK / template Weight (percentage); Assimp treats the layer property table as optional.
pub fn mute(&self) -> bool
pub fn solo(&self) -> bool
Sourcepub fn get_animation_curve_nodes<'a>(
&'a self,
document: &'a OwnedDocument,
) -> Vec<&'a AnimationCurveNode>
pub fn get_animation_curve_nodes<'a>( &'a self, document: &'a OwnedDocument, ) -> Vec<&'a AnimationCurveNode>
Resolve incoming AnimationCurveNode -> AnimationLayer OO links.
Trait Implementations§
Source§impl Debug for AnimationLayer
impl Debug for AnimationLayer
Source§impl PartialEq for AnimationLayer
impl PartialEq for AnimationLayer
Source§impl TryFrom<OwnedObject> for AnimationLayer
impl TryFrom<OwnedObject> for AnimationLayer
Source§type Error = FbxTypeMismatch
type Error = FbxTypeMismatch
The type returned in the event of a conversion error.
impl StructuralPartialEq for AnimationLayer
Auto Trait Implementations§
impl Freeze for AnimationLayer
impl RefUnwindSafe for AnimationLayer
impl Send for AnimationLayer
impl Sync for AnimationLayer
impl Unpin for AnimationLayer
impl UnsafeUnpin for AnimationLayer
impl UnwindSafe for AnimationLayer
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