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§
Sourcefn get_is_finished(self) -> bool
fn get_is_finished(self) -> bool
get_isFinished() overload
Sourcefn set_hand_rotations(
self,
left_hand_rotation: impl Into<Quaternion>,
right_hand_rotation: impl Into<Quaternion>,
)
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
Sourcefn on_modify_offset(self)
fn on_modify_offset(self)
OnModifyOffset() overload
Sourcefn after_fbbik(self)
fn after_fbbik(self)
AfterFBBIK() overload
Sourcefn after_aim_ik(self)
fn after_aim_ik(self)
AfterAimIK() overload
Sourcefn get_primary_hand_effector(self) -> IKEffector
fn get_primary_hand_effector(self) -> IKEffector
get_primaryHandEffector() overload
Sourcefn get_secondary_hand_effector(self) -> IKEffector
fn get_secondary_hand_effector(self) -> IKEffector
get_secondaryHandEffector() overload
Sourcefn get_primary_hand(self) -> Transform
fn get_primary_hand(self) -> Transform
get_primaryHand() overload
Sourcefn get_secondary_hand(self) -> Transform
fn get_secondary_hand(self) -> Transform
get_secondaryHand() overload
Sourcefn on_destroy(self)
fn on_destroy(self)
OnDestroy() 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: IRecoil> IRecoilMethods for __T
Available on crate feature
root_motion-final_ik-recoil only.