pub trait IGroundingMethods: IGrounding {
Show 24 methods
// Provided methods
fn get_legs(self) -> Array<Grounding_Leg> { ... }
fn set_legs(self, value: impl Into<Array<Grounding_Leg>>) { ... }
fn get_pelvis(self) -> Grounding_Pelvis { ... }
fn set_pelvis(self, value: impl Into<Grounding_Pelvis>) { ... }
fn get_is_grounded(self) -> bool { ... }
fn set_is_grounded(self, value: impl Into<bool>) { ... }
fn get_root(self) -> Transform { ... }
fn set_root(self, value: impl Into<Transform>) { ... }
fn get_root_hit(self) -> RaycastHit { ... }
fn set_root_hit(self, value: impl Into<RaycastHit>) { ... }
fn get_root_grounded(self) -> bool { ... }
fn get_root_hit_2(self, max_distance_mlp: impl Into<f32>) -> RaycastHit { ... }
fn is_valid(self) -> (bool, Il2CppString) { ... }
fn initiate(
self,
root: impl Into<Transform>,
feet: impl Into<Array<Transform>>,
) { ... }
fn update(self) { ... }
fn get_legs_plane_normal(self) -> Vector3 { ... }
fn reset(self) { ... }
fn log_warning(self, message: impl Into<Il2CppString>) { ... }
fn get_up(self) -> Vector3 { ... }
fn get_vertical_offset(
self,
p1: impl Into<Vector3>,
p2: impl Into<Vector3>,
) -> f32 { ... }
fn flatten(self, v: impl Into<Vector3>) -> Vector3 { ... }
fn get_use_root_rotation(self) -> bool { ... }
fn get_foot_center_offset(self) -> Vector3 { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn get_legs(self) -> Array<Grounding_Leg>
fn get_legs(self) -> Array<Grounding_Leg>
get_legs() overload
Sourcefn set_legs(self, value: impl Into<Array<Grounding_Leg>>)
fn set_legs(self, value: impl Into<Array<Grounding_Leg>>)
set_legs(::unity::Array<crate::root_motion::final_ik::grounding::Grounding_Leg>) overload
Sourcefn get_pelvis(self) -> Grounding_Pelvis
fn get_pelvis(self) -> Grounding_Pelvis
get_pelvis() overload
Sourcefn set_pelvis(self, value: impl Into<Grounding_Pelvis>)
fn set_pelvis(self, value: impl Into<Grounding_Pelvis>)
set_pelvis(crate::root_motion::final_ik::grounding::Grounding_Pelvis) overload
Sourcefn get_is_grounded(self) -> bool
fn get_is_grounded(self) -> bool
get_isGrounded() overload
Sourcefn set_is_grounded(self, value: impl Into<bool>)
fn set_is_grounded(self, value: impl Into<bool>)
set_isGrounded(bool) overload
Sourcefn set_root(self, value: impl Into<Transform>)
fn set_root(self, value: impl Into<Transform>)
set_root(crate::unity_engine::transform::Transform) overload
Sourcefn get_root_hit(self) -> RaycastHit
fn get_root_hit(self) -> RaycastHit
get_rootHit() overload
Sourcefn set_root_hit(self, value: impl Into<RaycastHit>)
fn set_root_hit(self, value: impl Into<RaycastHit>)
set_rootHit(crate::unity_engine::raycasthit::RaycastHit) overload
Sourcefn get_root_grounded(self) -> bool
fn get_root_grounded(self) -> bool
get_rootGrounded() overload
Sourcefn get_root_hit_2(self, max_distance_mlp: impl Into<f32>) -> RaycastHit
fn get_root_hit_2(self, max_distance_mlp: impl Into<f32>) -> RaycastHit
GetRootHit(f32) overload
Sourcefn is_valid(self) -> (bool, Il2CppString)
fn is_valid(self) -> (bool, Il2CppString)
IsValid(*mut::unity::Il2CppString) overload
Sourcefn initiate(self, root: impl Into<Transform>, feet: impl Into<Array<Transform>>)
fn initiate(self, root: impl Into<Transform>, feet: impl Into<Array<Transform>>)
Initiate(crate::unity_engine::transform::Transform, ::unity::Array<crate::unity_engine::transform::Transform>) overload
Sourcefn get_legs_plane_normal(self) -> Vector3
fn get_legs_plane_normal(self) -> Vector3
GetLegsPlaneNormal() overload
Sourcefn log_warning(self, message: impl Into<Il2CppString>)
fn log_warning(self, message: impl Into<Il2CppString>)
LogWarning(::unity::Il2CppString) overload
Sourcefn get_vertical_offset(
self,
p1: impl Into<Vector3>,
p2: impl Into<Vector3>,
) -> f32
fn get_vertical_offset( self, p1: impl Into<Vector3>, p2: impl Into<Vector3>, ) -> f32
GetVerticalOffset(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3) overload
Sourcefn flatten(self, v: impl Into<Vector3>) -> Vector3
fn flatten(self, v: impl Into<Vector3>) -> Vector3
Flatten(crate::unity_engine::vector3::Vector3) overload
Sourcefn get_use_root_rotation(self) -> bool
fn get_use_root_rotation(self) -> bool
get_useRootRotation() overload
Sourcefn get_foot_center_offset(self) -> Vector3
fn get_foot_center_offset(self) -> Vector3
GetFootCenterOffset() 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: IGrounding> IGroundingMethods for __T
root_motion-final_ik-grounding only.