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§
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 get_ik_position(self) -> Vector3
fn get_ik_position(self) -> Vector3
get_IKPosition() overload
Sourcefn set_ik_position(self, value: impl Into<Vector3>)
fn set_ik_position(self, value: impl Into<Vector3>)
set_IKPosition(crate::unity_engine::vector3::Vector3) overload
Sourcefn get_initiated(self) -> bool
fn get_initiated(self) -> bool
get_initiated() overload
Sourcefn set_initiated(self, value: impl Into<bool>)
fn set_initiated(self, value: impl Into<bool>)
set_initiated(bool) overload
Sourcefn get_height_from_ground(self) -> f32
fn get_height_from_ground(self) -> f32
get_heightFromGround() overload
Sourcefn set_height_from_ground(self, value: impl Into<f32>)
fn set_height_from_ground(self, value: impl Into<f32>)
set_heightFromGround(f32) overload
Sourcefn get_velocity(self) -> Vector3
fn get_velocity(self) -> Vector3
get_velocity() overload
Sourcefn set_velocity(self, value: impl Into<Vector3>)
fn set_velocity(self, value: impl Into<Vector3>)
set_velocity(crate::unity_engine::vector3::Vector3) overload
Sourcefn get_transform(self) -> Transform
fn get_transform(self) -> Transform
get_transform() overload
Sourcefn set_transform(self, value: impl Into<Transform>)
fn set_transform(self, value: impl Into<Transform>)
set_transform(crate::unity_engine::transform::Transform) overload
Sourcefn get_ik_offset(self) -> f32
fn get_ik_offset(self) -> f32
get_IKOffset() overload
Sourcefn set_ik_offset(self, value: impl Into<f32>)
fn set_ik_offset(self, value: impl Into<f32>)
set_IKOffset(f32) overload
Sourcefn get_heel_hit(self) -> RaycastHit
fn get_heel_hit(self) -> RaycastHit
get_heelHit() overload
Sourcefn set_heel_hit(self, value: impl Into<RaycastHit>)
fn set_heel_hit(self, value: impl Into<RaycastHit>)
set_heelHit(crate::unity_engine::raycasthit::RaycastHit) overload
Sourcefn get_capsule_hit(self) -> RaycastHit
fn get_capsule_hit(self) -> RaycastHit
get_capsuleHit() overload
Sourcefn set_capsule_hit(self, value: impl Into<RaycastHit>)
fn set_capsule_hit(self, value: impl Into<RaycastHit>)
set_capsuleHit(crate::unity_engine::raycasthit::RaycastHit) overload
Sourcefn get_get_hit_point(self) -> RaycastHit
fn get_get_hit_point(self) -> RaycastHit
get_GetHitPoint() overload
Sourcefn set_foot_position(self, position: impl Into<Vector3>)
fn set_foot_position(self, position: impl Into<Vector3>)
SetFootPosition(crate::unity_engine::vector3::Vector3) overload
Sourcefn initiate(
self,
grounding: impl Into<Grounding>,
transform: impl Into<Transform>,
)
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
Sourcefn get_step_height_from_ground(self) -> f32
fn get_step_height_from_ground(self) -> f32
get_stepHeightFromGround() overload
Sourcefn get_capsule_hit_2(self, offset_from_heel: impl Into<Vector3>) -> RaycastHit
fn get_capsule_hit_2(self, offset_from_heel: impl Into<Vector3>) -> RaycastHit
GetCapsuleHit(crate::unity_engine::vector3::Vector3) overload
Sourcefn get_raycast_hit(self, offset_from_heel: impl Into<Vector3>) -> RaycastHit
fn get_raycast_hit(self, offset_from_heel: impl Into<Vector3>) -> RaycastHit
GetRaycastHit(crate::unity_engine::vector3::Vector3) overload
Sourcefn rotate_normal(self, normal: impl Into<Vector3>) -> Vector3
fn rotate_normal(self, normal: impl Into<Vector3>) -> Vector3
RotateNormal(crate::unity_engine::vector3::Vector3) overload
Sourcefn set_foot_to_point(
self,
normal: impl Into<Vector3>,
point: impl Into<Vector3>,
)
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
Sourcefn set_foot_to_plane(
self,
plane_normal: impl Into<Vector3>,
plane_point: impl Into<Vector3>,
heel_hit_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>, )
SetFootToPlane(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3) overload
Sourcefn get_height_from_ground_2(self, hit_point: impl Into<Vector3>) -> f32
fn get_height_from_ground_2(self, hit_point: impl Into<Vector3>) -> f32
GetHeightFromGround(crate::unity_engine::vector3::Vector3) overload
Sourcefn rotate_foot(self)
fn rotate_foot(self)
RotateFoot() overload
Sourcefn get_rotation_offset_target(self) -> Quaternion
fn get_rotation_offset_target(self) -> Quaternion
GetRotationOffsetTarget() overload
Sourcefn get_root_y_offset(self) -> f32
fn get_root_y_offset(self) -> f32
get_rootYOffset() 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_Leg> IGrounding_LegMethods for __T
root_motion-final_ik-grounding only.