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§
Sourcefn set_default_local_rotation(self)
fn set_default_local_rotation(self)
SetDefaultLocalRotation() overload
Sourcefn set_default_local_rotation_2(self, local_rotation: impl Into<Quaternion>)
fn set_default_local_rotation_2(self, local_rotation: impl Into<Quaternion>)
SetDefaultLocalRotation(crate::unity_engine::quaternion::Quaternion) overload
Sourcefn get_limited_local_rotation(
self,
local_rotation: impl Into<Quaternion>,
) -> (Quaternion, bool)
fn get_limited_local_rotation( self, local_rotation: impl Into<Quaternion>, ) -> (Quaternion, bool)
GetLimitedLocalRotation(crate::unity_engine::quaternion::Quaternion, *mutbool) overload
Sourcefn get_secondary_axis(self) -> Vector3
fn get_secondary_axis(self) -> Vector3
get_secondaryAxis() overload
Sourcefn get_cross_axis(self) -> Vector3
fn get_cross_axis(self) -> Vector3
get_crossAxis() overload
Sourcefn get_default_local_rotation_override(self) -> bool
fn get_default_local_rotation_override(self) -> bool
get_defaultLocalRotationOverride() overload
Sourcefn set_default_local_rotation_override(self, value: impl Into<bool>)
fn set_default_local_rotation_override(self, value: impl Into<bool>)
set_defaultLocalRotationOverride(bool) overload
Sourcefn limit_rotation(self, rotation: impl Into<Quaternion>) -> Quaternion
fn limit_rotation(self, rotation: impl Into<Quaternion>) -> Quaternion
LimitRotation(crate::unity_engine::quaternion::Quaternion) overload
Sourcefn late_update(self)
fn late_update(self)
LateUpdate() overload
Sourcefn log_warning(self, message: impl Into<Il2CppString>)
fn log_warning(self, message: impl Into<Il2CppString>)
LogWarning(::unity::Il2CppString) 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: IRotationLimit> IRotationLimitMethods for __T
Available on crate feature
root_motion-final_ik-rotationlimit only.