Skip to main content

IGrounding_LegMethods

Trait IGrounding_LegMethods 

Source
pub trait IGrounding_LegMethods: IGrounding_Leg {
Show 35 methods // Provided methods fn get_is_grounded(self) -> bool { ... } fn set_is_grounded(self, value: impl Into<bool>) { ... } fn get_ik_position(self) -> Vector3 { ... } fn set_ik_position(self, value: impl Into<Vector3>) { ... } fn get_initiated(self) -> bool { ... } fn set_initiated(self, value: impl Into<bool>) { ... } fn get_height_from_ground(self) -> f32 { ... } fn set_height_from_ground(self, value: impl Into<f32>) { ... } fn get_velocity(self) -> Vector3 { ... } fn set_velocity(self, value: impl Into<Vector3>) { ... } fn get_transform(self) -> Transform { ... } fn set_transform(self, value: impl Into<Transform>) { ... } fn get_ik_offset(self) -> f32 { ... } fn set_ik_offset(self, value: impl Into<f32>) { ... } fn get_heel_hit(self) -> RaycastHit { ... } fn set_heel_hit(self, value: impl Into<RaycastHit>) { ... } fn get_capsule_hit(self) -> RaycastHit { ... } fn set_capsule_hit(self, value: impl Into<RaycastHit>) { ... } fn get_get_hit_point(self) -> RaycastHit { ... } fn set_foot_position(self, position: impl Into<Vector3>) { ... } fn initiate( self, grounding: impl Into<Grounding>, transform: impl Into<Transform>, ) { ... } fn on_enable(self) { ... } fn reset(self) { ... } fn process(self) { ... } fn get_step_height_from_ground(self) -> f32 { ... } fn get_capsule_hit_2( self, offset_from_heel: impl Into<Vector3>, ) -> RaycastHit { ... } fn get_raycast_hit(self, offset_from_heel: impl Into<Vector3>) -> RaycastHit { ... } fn rotate_normal(self, normal: impl Into<Vector3>) -> Vector3 { ... } fn set_foot_to_point( self, normal: impl Into<Vector3>, point: impl Into<Vector3>, ) { ... } fn set_foot_to_plane( self, plane_normal: impl Into<Vector3>, plane_point: impl Into<Vector3>, heel_hit_point: impl Into<Vector3>, ) { ... } fn get_height_from_ground_2(self, hit_point: impl Into<Vector3>) -> f32 { ... } fn rotate_foot(self) { ... } fn get_rotation_offset_target(self) -> Quaternion { ... } fn get_root_y_offset(self) -> f32 { ... } fn ctor(self) { ... }
}

Provided Methods§

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_ik_position(self) -> Vector3

get_IKPosition() overload

Source

fn set_ik_position(self, value: impl Into<Vector3>)

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

Source

fn get_initiated(self) -> bool

get_initiated() overload

Source

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

set_initiated(bool) overload

Source

fn get_height_from_ground(self) -> f32

get_heightFromGround() overload

Source

fn set_height_from_ground(self, value: impl Into<f32>)

set_heightFromGround(f32) overload

Source

fn get_velocity(self) -> Vector3

get_velocity() overload

Source

fn set_velocity(self, value: impl Into<Vector3>)

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

Source

fn get_transform(self) -> Transform

get_transform() overload

Source

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

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

Source

fn get_ik_offset(self) -> f32

get_IKOffset() overload

Source

fn set_ik_offset(self, value: impl Into<f32>)

set_IKOffset(f32) overload

Source

fn get_heel_hit(self) -> RaycastHit

get_heelHit() overload

Source

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

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

Source

fn get_capsule_hit(self) -> RaycastHit

get_capsuleHit() overload

Source

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

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

Source

fn get_get_hit_point(self) -> RaycastHit

get_GetHitPoint() overload

Source

fn set_foot_position(self, position: impl Into<Vector3>)

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

Source

fn initiate( self, grounding: impl Into<Grounding>, transform: impl Into<Transform>, )

Initiate(crate::root_motion::final_ik::grounding::Grounding, crate::unity_engine::transform::Transform) overload

Source

fn on_enable(self)

OnEnable() overload

Source

fn reset(self)

Reset() overload

Source

fn process(self)

Process() overload

Source

fn get_step_height_from_ground(self) -> f32

get_stepHeightFromGround() overload

Source

fn get_capsule_hit_2(self, offset_from_heel: impl Into<Vector3>) -> RaycastHit

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

Source

fn get_raycast_hit(self, offset_from_heel: impl Into<Vector3>) -> RaycastHit

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

Source

fn rotate_normal(self, normal: impl Into<Vector3>) -> Vector3

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

Source

fn set_foot_to_point( self, normal: impl Into<Vector3>, point: impl Into<Vector3>, )

SetFootToPoint(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3) overload

Source

fn set_foot_to_plane( self, plane_normal: impl Into<Vector3>, plane_point: impl Into<Vector3>, heel_hit_point: impl Into<Vector3>, )

SetFootToPlane(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3) overload

Source

fn get_height_from_ground_2(self, hit_point: impl Into<Vector3>) -> f32

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

Source

fn rotate_foot(self)

RotateFoot() overload

Source

fn get_rotation_offset_target(self) -> Quaternion

GetRotationOffsetTarget() overload

Source

fn get_root_y_offset(self) -> f32

get_rootYOffset() 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_Leg> IGrounding_LegMethods for __T

Available on crate feature root_motion-final_ik-grounding only.