Struct rusty_spine::SkeletonController
source · [−]pub struct SkeletonController {
pub skeleton: Skeleton,
pub animation_state: AnimationState,
pub clipper: SkeletonClipping,
pub settings: SkeletonControllerSettings,
}
Fields
skeleton: Skeleton
animation_state: AnimationState
clipper: SkeletonClipping
settings: SkeletonControllerSettings
Implementations
sourceimpl SkeletonController
impl SkeletonController
pub fn new(
skeleton_data: Arc<SkeletonData>,
animation_state_data: Arc<AnimationStateData>
) -> Self
pub fn with_settings(self, settings: SkeletonControllerSettings) -> Self
pub fn update(&mut self, delta_seconds: f32)
pub fn renderables(&mut self) -> Vec<SkeletonRenderable>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SkeletonController
impl Send for SkeletonController
impl Sync for SkeletonController
impl Unpin for SkeletonController
impl UnwindSafe for SkeletonController
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more