pub trait IBakerMuscleMethods: IBakerMuscle {
// Provided methods
fn ctor(self, muscle_index: impl Into<i32>) { ... }
fn muscle_name_to_property_name(
self,
n: impl Into<Il2CppString>,
) -> Il2CppString { ... }
fn multiply_length(
self,
curve: impl Into<AnimationCurve>,
mlp: impl Into<f32>,
) { ... }
fn set_curves(
self,
max_error: impl Into<f32>,
length_mlp: impl Into<f32>,
) -> AnimationClip { ... }
fn reset(self) { ... }
fn set_keyframe(self, time: impl Into<f32>, muscles: impl Into<Array<f32>>) { ... }
fn set_loop_frame(self, time: impl Into<f32>) { ... }
}Provided Methods§
Sourcefn muscle_name_to_property_name(
self,
n: impl Into<Il2CppString>,
) -> Il2CppString
fn muscle_name_to_property_name( self, n: impl Into<Il2CppString>, ) -> Il2CppString
MuscleNameToPropertyName(::unity::Il2CppString) overload
Sourcefn multiply_length(self, curve: impl Into<AnimationCurve>, mlp: impl Into<f32>)
fn multiply_length(self, curve: impl Into<AnimationCurve>, mlp: impl Into<f32>)
MultiplyLength(crate::unity_engine::animationcurve::AnimationCurve, f32) overload
Sourcefn set_curves(
self,
max_error: impl Into<f32>,
length_mlp: impl Into<f32>,
) -> AnimationClip
fn set_curves( self, max_error: impl Into<f32>, length_mlp: impl Into<f32>, ) -> AnimationClip
SetCurves(*mutcrate::unity_engine::animationclip::AnimationClip, f32, f32) overload
Sourcefn set_keyframe(self, time: impl Into<f32>, muscles: impl Into<Array<f32>>)
fn set_keyframe(self, time: impl Into<f32>, muscles: impl Into<Array<f32>>)
SetKeyframe(f32, ::unity::Array<f32>) overload
Sourcefn set_loop_frame(self, time: impl Into<f32>)
fn set_loop_frame(self, time: impl Into<f32>)
SetLoopFrame(f32) 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§
impl<__T: IBakerMuscle> IBakerMuscleMethods for __T
Available on crate feature
root_motion-bakermuscle only.