Skip to main content

IBakerHumanoidQTMethods

Trait IBakerHumanoidQTMethods 

Source
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§

Source

fn ctor(self, name: impl Into<Il2CppString>)

.ctor(::unity::Il2CppString) overload

Source

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

Source

fn reset(self)

Reset() overload

Source

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

Source

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

Source

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

MoveLastKeyframes(f32) overload

Source

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

SetLoopFrame(f32) overload

Source

fn move_last_keyframe( self, time: impl Into<f32>, curve: impl Into<AnimationCurve>, )

MoveLastKeyframe(f32, crate::unity_engine::animationcurve::AnimationCurve) overload

Source

fn multiply_length(self, curve: impl Into<AnimationCurve>, mlp: impl Into<f32>)

MultiplyLength(crate::unity_engine::animationcurve::AnimationCurve, f32) overload

Source

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§

Source§

impl<__T: IBakerHumanoidQT> IBakerHumanoidQTMethods for __T

Available on crate feature root_motion-bakerhumanoidqt only.