Skip to main content

IGroundingMethods

Trait IGroundingMethods 

Source
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§

Source

fn get_legs(self) -> Array<Grounding_Leg>

get_legs() overload

Source

fn set_legs(self, value: impl Into<Array<Grounding_Leg>>)

set_legs(::unity::Array<crate::root_motion::final_ik::grounding::Grounding_Leg>) overload

Source

fn get_pelvis(self) -> Grounding_Pelvis

get_pelvis() overload

Source

fn set_pelvis(self, value: impl Into<Grounding_Pelvis>)

set_pelvis(crate::root_motion::final_ik::grounding::Grounding_Pelvis) overload

Source

fn get_is_grounded(self) -> bool

get_isGrounded() overload

Source

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

set_isGrounded(bool) overload

Source

fn get_root(self) -> Transform

get_root() overload

Source

fn set_root(self, value: impl Into<Transform>)

set_root(crate::unity_engine::transform::Transform) overload

Source

fn get_root_hit(self) -> RaycastHit

get_rootHit() overload

Source

fn set_root_hit(self, value: impl Into<RaycastHit>)

set_rootHit(crate::unity_engine::raycasthit::RaycastHit) overload

Source

fn get_root_grounded(self) -> bool

get_rootGrounded() overload

Source

fn get_root_hit_2(self, max_distance_mlp: impl Into<f32>) -> RaycastHit

GetRootHit(f32) overload

Source

fn is_valid(self) -> (bool, Il2CppString)

IsValid(*mut::unity::Il2CppString) overload

Source

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

Source

fn update(self)

Update() overload

Source

fn get_legs_plane_normal(self) -> Vector3

GetLegsPlaneNormal() overload

Source

fn reset(self)

Reset() overload

Source

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

LogWarning(::unity::Il2CppString) overload

Source

fn get_up(self) -> Vector3

get_up() overload

Source

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

Source

fn flatten(self, v: impl Into<Vector3>) -> Vector3

Flatten(crate::unity_engine::vector3::Vector3) overload

Source

fn get_use_root_rotation(self) -> bool

get_useRootRotation() overload

Source

fn get_foot_center_offset(self) -> Vector3

GetFootCenterOffset() 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: IGrounding> IGroundingMethods for __T

Available on crate feature root_motion-final_ik-grounding only.