pub struct BlendShapeChannel {
pub percent: f32,
pub full_weights: Vec<f32>,
/* private fields */
}Fields§
§percent: f32§full_weights: Vec<f32>Implementations§
Source§impl BlendShapeChannel
impl BlendShapeChannel
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>
pub fn deform_percent(&self) -> f32
pub fn full_weights(&self) -> &[f32]
Sourcepub fn get_shape_geometries<'a>(
&'a self,
document: &'a OwnedDocument,
) -> Vec<&'a ShapeGeometry>
pub fn get_shape_geometries<'a>( &'a self, document: &'a OwnedDocument, ) -> Vec<&'a ShapeGeometry>
Resolve ShapeGeometry -> BlendShapeChannel links via owned OO connections.
Trait Implementations§
Source§impl Debug for BlendShapeChannel
impl Debug for BlendShapeChannel
Source§impl PartialEq for BlendShapeChannel
impl PartialEq for BlendShapeChannel
Source§impl TryFrom<OwnedObject> for BlendShapeChannel
impl TryFrom<OwnedObject> for BlendShapeChannel
Source§type Error = FbxTypeMismatch
type Error = FbxTypeMismatch
The type returned in the event of a conversion error.
impl StructuralPartialEq for BlendShapeChannel
Auto Trait Implementations§
impl Freeze for BlendShapeChannel
impl RefUnwindSafe for BlendShapeChannel
impl Send for BlendShapeChannel
impl Sync for BlendShapeChannel
impl Unpin for BlendShapeChannel
impl UnsafeUnpin for BlendShapeChannel
impl UnwindSafe for BlendShapeChannel
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