pub trait IBakerHumanoidQTMethods: IBakerHumanoidQT {
// Provided methods
fn ctor(self, name: impl Into<Il2CppString>) { ... }
fn ctor_2(
self,
transform: impl Into<Transform>,
goal: impl Into<AvatarIKGoal>,
name: impl Into<Il2CppString>,
) { ... }
fn reset(self) { ... }
fn set_ik_keyframes(
self,
time: impl Into<f32>,
avatar: impl Into<Avatar>,
root: impl Into<Transform>,
human_scale: impl Into<f32>,
body_position: impl Into<Vector3>,
body_rotation: impl Into<Quaternion>,
) { ... }
fn set_keyframes(
self,
time: impl Into<f32>,
pos: impl Into<Vector3>,
rot: impl Into<Quaternion>,
) { ... }
fn move_last_keyframes(self, time: impl Into<f32>) { ... }
fn set_loop_frame(self, time: impl Into<f32>) { ... }
fn move_last_keyframe(
self,
time: impl Into<f32>,
curve: impl Into<AnimationCurve>,
) { ... }
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 { ... }
}Provided Methods§
Sourcefn ctor(self, name: impl Into<Il2CppString>)
fn ctor(self, name: impl Into<Il2CppString>)
.ctor(::unity::Il2CppString) overload
Sourcefn ctor_2(
self,
transform: impl Into<Transform>,
goal: impl Into<AvatarIKGoal>,
name: impl Into<Il2CppString>,
)
fn ctor_2( self, transform: impl Into<Transform>, goal: impl Into<AvatarIKGoal>, name: impl Into<Il2CppString>, )
.ctor(crate::unity_engine::transform::Transform, crate::unity_engine::avatarikgoal::AvatarIKGoal, ::unity::Il2CppString) overload
Sourcefn set_ik_keyframes(
self,
time: impl Into<f32>,
avatar: impl Into<Avatar>,
root: impl Into<Transform>,
human_scale: impl Into<f32>,
body_position: impl Into<Vector3>,
body_rotation: impl Into<Quaternion>,
)
fn set_ik_keyframes( self, time: impl Into<f32>, avatar: impl Into<Avatar>, root: impl Into<Transform>, human_scale: impl Into<f32>, body_position: impl Into<Vector3>, body_rotation: impl Into<Quaternion>, )
SetIKKeyframes(f32, crate::unity_engine::avatar::Avatar, crate::unity_engine::transform::Transform, f32, crate::unity_engine::vector3::Vector3, crate::unity_engine::quaternion::Quaternion) overload
Sourcefn set_keyframes(
self,
time: impl Into<f32>,
pos: impl Into<Vector3>,
rot: impl Into<Quaternion>,
)
fn set_keyframes( self, time: impl Into<f32>, pos: impl Into<Vector3>, rot: impl Into<Quaternion>, )
SetKeyframes(f32, crate::unity_engine::vector3::Vector3, crate::unity_engine::quaternion::Quaternion) overload
Sourcefn move_last_keyframes(self, time: impl Into<f32>)
fn move_last_keyframes(self, time: impl Into<f32>)
MoveLastKeyframes(f32) overload
Sourcefn set_loop_frame(self, time: impl Into<f32>)
fn set_loop_frame(self, time: impl Into<f32>)
SetLoopFrame(f32) overload
Sourcefn move_last_keyframe(
self,
time: impl Into<f32>,
curve: impl Into<AnimationCurve>,
)
fn move_last_keyframe( self, time: impl Into<f32>, curve: impl Into<AnimationCurve>, )
MoveLastKeyframe(f32, crate::unity_engine::animationcurve::AnimationCurve) 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
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: IBakerHumanoidQT> IBakerHumanoidQTMethods for __T
root_motion-bakerhumanoidqt only.