Skip to main content

IIKSolverVR_FootstepMethods

Trait IIKSolverVR_FootstepMethods 

Source
pub trait IIKSolverVR_FootstepMethods: IIKSolverVR_Footstep {
    // Provided methods
    fn get_is_stepping(self) -> bool { ... }
    fn get_step_progress(self) -> f32 { ... }
    fn set_step_progress(self, value: impl Into<f32>) { ... }
    fn ctor(
        self,
        root_rotation: impl Into<Quaternion>,
        foot_position: impl Into<Vector3>,
        foot_rotation: impl Into<Quaternion>,
        character_space_offset: impl Into<Vector3>,
    ) { ... }
    fn reset(
        self,
        root_rotation: impl Into<Quaternion>,
        foot_position: impl Into<Vector3>,
        foot_rotation: impl Into<Quaternion>,
    ) { ... }
    fn step_to(
        self,
        p: impl Into<Vector3>,
        root_rotation: impl Into<Quaternion>,
        step_threshold: impl Into<f32>,
    ) { ... }
    fn update_stepping(
        self,
        p: impl Into<Vector3>,
        root_rotation: impl Into<Quaternion>,
        speed: impl Into<f32>,
    ) { ... }
    fn update_standing(
        self,
        root_rotation: impl Into<Quaternion>,
        min_angle: impl Into<f32>,
        speed: impl Into<f32>,
    ) { ... }
    fn update(
        self,
        interpolation: impl Into<InterpolationMode>,
        on_step: impl Into<UnityEvent>,
    ) { ... }
}

Provided Methods§

Source

fn get_is_stepping(self) -> bool

get_isStepping() overload

Source

fn get_step_progress(self) -> f32

get_stepProgress() overload

Source

fn set_step_progress(self, value: impl Into<f32>)

set_stepProgress(f32) overload

Source

fn ctor( self, root_rotation: impl Into<Quaternion>, foot_position: impl Into<Vector3>, foot_rotation: impl Into<Quaternion>, character_space_offset: impl Into<Vector3>, )

.ctor(crate::unity_engine::quaternion::Quaternion, crate::unity_engine::vector3::Vector3, crate::unity_engine::quaternion::Quaternion, crate::unity_engine::vector3::Vector3) overload

Source

fn reset( self, root_rotation: impl Into<Quaternion>, foot_position: impl Into<Vector3>, foot_rotation: impl Into<Quaternion>, )

Reset(crate::unity_engine::quaternion::Quaternion, crate::unity_engine::vector3::Vector3, crate::unity_engine::quaternion::Quaternion) overload

Source

fn step_to( self, p: impl Into<Vector3>, root_rotation: impl Into<Quaternion>, step_threshold: impl Into<f32>, )

StepTo(crate::unity_engine::vector3::Vector3, crate::unity_engine::quaternion::Quaternion, f32) overload

Source

fn update_stepping( self, p: impl Into<Vector3>, root_rotation: impl Into<Quaternion>, speed: impl Into<f32>, )

UpdateStepping(crate::unity_engine::vector3::Vector3, crate::unity_engine::quaternion::Quaternion, f32) overload

Source

fn update_standing( self, root_rotation: impl Into<Quaternion>, min_angle: impl Into<f32>, speed: impl Into<f32>, )

UpdateStanding(crate::unity_engine::quaternion::Quaternion, f32, f32) overload

Source

fn update( self, interpolation: impl Into<InterpolationMode>, on_step: impl Into<UnityEvent>, )

Update(crate::root_motion::interpolationmode::InterpolationMode, crate::unity_engine::events::unityevent::UnityEvent) 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: IIKSolverVR_Footstep> IIKSolverVR_FootstepMethods for __T

Available on crate feature root_motion-final_ik-iksolvervr only.