Skip to main content

IGenericBakerMethods

Trait IGenericBakerMethods 

Source
pub trait IGenericBakerMethods: IGenericBaker {
    // Provided methods
    fn awake(self) { ... }
    fn get_character_root(self) -> Transform { ... }
    fn on_start_baking(self) { ... }
    fn on_set_loop_frame(self, time: impl Into<f32>) { ... }
    fn on_set_curves(self) -> AnimationClip { ... }
    fn on_set_keyframes(self, time: impl Into<f32>, last_frame: impl Into<bool>) { ... }
    fn is_ignored(self, t: impl Into<Transform>) -> bool { ... }
    fn bake_position(self, t: impl Into<Transform>) -> bool { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn awake(self)

Awake() overload

Source

fn get_character_root(self) -> Transform

GetCharacterRoot() overload

Source

fn on_start_baking(self)

OnStartBaking() overload

Source

fn on_set_loop_frame(self, time: impl Into<f32>)

OnSetLoopFrame(f32) overload

Source

fn on_set_curves(self) -> AnimationClip

OnSetCurves(*mutcrate::unity_engine::animationclip::AnimationClip) overload

Source

fn on_set_keyframes(self, time: impl Into<f32>, last_frame: impl Into<bool>)

OnSetKeyframes(f32, bool) overload

Source

fn is_ignored(self, t: impl Into<Transform>) -> bool

IsIgnored(crate::unity_engine::transform::Transform) overload

Source

fn bake_position(self, t: impl Into<Transform>) -> bool

BakePosition(crate::unity_engine::transform::Transform) overload

Source

fn ctor(self)

.ctor() overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IGenericBaker> IGenericBakerMethods for __T

Available on crate feature root_motion-genericbaker only.