Skip to main content

IRotationLimitMethods

Trait IRotationLimitMethods 

Source
pub trait IRotationLimitMethods: IRotationLimit {
Show 14 methods // Provided methods fn set_default_local_rotation(self) { ... } fn set_default_local_rotation_2(self, local_rotation: impl Into<Quaternion>) { ... } fn get_limited_local_rotation( self, local_rotation: impl Into<Quaternion>, ) -> (Quaternion, bool) { ... } fn apply(self) -> bool { ... } fn disable(self) { ... } fn get_secondary_axis(self) -> Vector3 { ... } fn get_cross_axis(self) -> Vector3 { ... } fn get_default_local_rotation_override(self) -> bool { ... } fn set_default_local_rotation_override(self, value: impl Into<bool>) { ... } fn limit_rotation(self, rotation: impl Into<Quaternion>) -> Quaternion { ... } fn awake(self) { ... } fn late_update(self) { ... } fn log_warning(self, message: impl Into<Il2CppString>) { ... } fn ctor(self) { ... }
}

Provided Methods§

Source

fn set_default_local_rotation(self)

SetDefaultLocalRotation() overload

Source

fn set_default_local_rotation_2(self, local_rotation: impl Into<Quaternion>)

SetDefaultLocalRotation(crate::unity_engine::quaternion::Quaternion) overload

Source

fn get_limited_local_rotation( self, local_rotation: impl Into<Quaternion>, ) -> (Quaternion, bool)

GetLimitedLocalRotation(crate::unity_engine::quaternion::Quaternion, *mutbool) overload

Source

fn apply(self) -> bool

Apply() overload

Source

fn disable(self)

Disable() overload

Source

fn get_secondary_axis(self) -> Vector3

get_secondaryAxis() overload

Source

fn get_cross_axis(self) -> Vector3

get_crossAxis() overload

Source

fn get_default_local_rotation_override(self) -> bool

get_defaultLocalRotationOverride() overload

Source

fn set_default_local_rotation_override(self, value: impl Into<bool>)

set_defaultLocalRotationOverride(bool) overload

Source

fn limit_rotation(self, rotation: impl Into<Quaternion>) -> Quaternion

LimitRotation(crate::unity_engine::quaternion::Quaternion) overload

Source

fn awake(self)

Awake() overload

Source

fn late_update(self)

LateUpdate() overload

Source

fn log_warning(self, message: impl Into<Il2CppString>)

LogWarning(::unity::Il2CppString) 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: IRotationLimit> IRotationLimitMethods for __T

Available on crate feature root_motion-final_ik-rotationlimit only.