Skip to main content

IRecoilMethods

Trait IRecoilMethods 

Source
pub trait IRecoilMethods: IRecoil {
    // Provided methods
    fn get_is_finished(self) -> bool { ... }
    fn set_hand_rotations(
        self,
        left_hand_rotation: impl Into<Quaternion>,
        right_hand_rotation: impl Into<Quaternion>,
    ) { ... }
    fn fire(self, magnitude: impl Into<f32>) { ... }
    fn on_modify_offset(self) { ... }
    fn after_fbbik(self) { ... }
    fn after_aim_ik(self) { ... }
    fn get_primary_hand_effector(self) -> IKEffector { ... }
    fn get_secondary_hand_effector(self) -> IKEffector { ... }
    fn get_primary_hand(self) -> Transform { ... }
    fn get_secondary_hand(self) -> Transform { ... }
    fn on_destroy(self) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_is_finished(self) -> bool

get_isFinished() overload

Source

fn set_hand_rotations( self, left_hand_rotation: impl Into<Quaternion>, right_hand_rotation: impl Into<Quaternion>, )

SetHandRotations(crate::unity_engine::quaternion::Quaternion, crate::unity_engine::quaternion::Quaternion) overload

Source

fn fire(self, magnitude: impl Into<f32>)

Fire(f32) overload

Source

fn on_modify_offset(self)

OnModifyOffset() overload

Source

fn after_fbbik(self)

AfterFBBIK() overload

Source

fn after_aim_ik(self)

AfterAimIK() overload

Source

fn get_primary_hand_effector(self) -> IKEffector

get_primaryHandEffector() overload

Source

fn get_secondary_hand_effector(self) -> IKEffector

get_secondaryHandEffector() overload

Source

fn get_primary_hand(self) -> Transform

get_primaryHand() overload

Source

fn get_secondary_hand(self) -> Transform

get_secondaryHand() overload

Source

fn on_destroy(self)

OnDestroy() 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: IRecoil> IRecoilMethods for __T

Available on crate feature root_motion-final_ik-recoil only.