pub struct AnimationBindComponent { /* private fields */ }Expand description
Wraps the corresponding Model I/O animation bind component counterpart.
Implementations§
Source§impl AnimationBindComponent
impl AnimationBindComponent
Sourcepub fn new() -> Result<Self>
pub fn new() -> Result<Self>
Wraps the corresponding Model I/O initializer for the wrapped Model I/O animation bind component counterpart.
Sourcepub fn info(&self) -> Result<AnimationBindComponentInfo>
pub fn info(&self) -> Result<AnimationBindComponentInfo>
Calls the corresponding Model I/O method on the wrapped Model I/O animation bind component counterpart.
Sourcepub fn set_skeleton(&self, skeleton: &Skeleton)
pub fn set_skeleton(&self, skeleton: &Skeleton)
Calls the corresponding Model I/O method on the wrapped Model I/O animation bind component counterpart.
Sourcepub fn skeleton(&self) -> Option<Skeleton>
pub fn skeleton(&self) -> Option<Skeleton>
Calls the corresponding Model I/O method on the wrapped Model I/O animation bind component counterpart.
Sourcepub fn set_packed_joint_animation(&self, animation: &PackedJointAnimation)
pub fn set_packed_joint_animation(&self, animation: &PackedJointAnimation)
Calls the corresponding Model I/O method on the wrapped Model I/O animation bind component counterpart.
Sourcepub fn packed_joint_animation(&self) -> Option<PackedJointAnimation>
pub fn packed_joint_animation(&self) -> Option<PackedJointAnimation>
Calls the corresponding Model I/O method on the wrapped Model I/O animation bind component counterpart.
Sourcepub fn set_joint_paths(&self, joint_paths: &[&str]) -> Result<()>
pub fn set_joint_paths(&self, joint_paths: &[&str]) -> Result<()>
Calls the corresponding Model I/O method on the wrapped Model I/O animation bind component counterpart.
Sourcepub fn set_geometry_bind_transform(&self, matrix: [f32; 16])
pub fn set_geometry_bind_transform(&self, matrix: [f32; 16])
Calls the corresponding Model I/O method on the wrapped Model I/O animation bind component counterpart.
Trait Implementations§
Source§impl Clone for AnimationBindComponent
impl Clone for AnimationBindComponent
Source§fn clone(&self) -> AnimationBindComponent
fn clone(&self) -> AnimationBindComponent
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more