pub trait IIKSolverTrigonometricMethods: IIKSolverTrigonometric {
Show 21 methods
// Provided methods
fn set_bend_goal_position(
self,
goal_position: impl Into<Vector3>,
weight: impl Into<f32>,
) { ... }
fn set_bend_plane_to_current(self) { ... }
fn set_ik_rotation(self, rotation: impl Into<Quaternion>) { ... }
fn set_ik_rotation_weight(self, weight: impl Into<f32>) { ... }
fn get_ik_rotation(self) -> Quaternion { ... }
fn get_ik_rotation_weight(self) -> f32 { ... }
fn get_points(self) -> Array<IKSolver_Point> { ... }
fn get_point(self, transform: impl Into<Transform>) -> IKSolver_Point { ... }
fn store_default_local_state(self) { ... }
fn fix_transforms(self) { ... }
fn is_valid(self) -> (bool, Il2CppString) { ... }
fn set_chain(
self,
bone1: impl Into<Transform>,
bone2: impl Into<Transform>,
bone3: impl Into<Transform>,
root: impl Into<Transform>,
) -> bool { ... }
fn on_initiate(self) { ... }
fn is_direct_hierarchy(self) -> bool { ... }
fn initiate_bones(self) { ... }
fn on_update(self) { ... }
fn on_initiate_virtual(self) { ... }
fn on_update_virtual(self) { ... }
fn on_post_solve_virtual(self) { ... }
fn get_bend_direction(
self,
ik_position: impl Into<Vector3>,
bend_normal: impl Into<Vector3>,
) -> Vector3 { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn set_bend_goal_position(
self,
goal_position: impl Into<Vector3>,
weight: impl Into<f32>,
)
fn set_bend_goal_position( self, goal_position: impl Into<Vector3>, weight: impl Into<f32>, )
SetBendGoalPosition(crate::unity_engine::vector3::Vector3, f32) overload
Sourcefn set_bend_plane_to_current(self)
fn set_bend_plane_to_current(self)
SetBendPlaneToCurrent() overload
Sourcefn set_ik_rotation(self, rotation: impl Into<Quaternion>)
fn set_ik_rotation(self, rotation: impl Into<Quaternion>)
SetIKRotation(crate::unity_engine::quaternion::Quaternion) overload
Sourcefn set_ik_rotation_weight(self, weight: impl Into<f32>)
fn set_ik_rotation_weight(self, weight: impl Into<f32>)
SetIKRotationWeight(f32) overload
Sourcefn get_ik_rotation(self) -> Quaternion
fn get_ik_rotation(self) -> Quaternion
GetIKRotation() overload
Sourcefn get_ik_rotation_weight(self) -> f32
fn get_ik_rotation_weight(self) -> f32
GetIKRotationWeight() overload
Sourcefn get_points(self) -> Array<IKSolver_Point>
fn get_points(self) -> Array<IKSolver_Point>
GetPoints() overload
Sourcefn get_point(self, transform: impl Into<Transform>) -> IKSolver_Point
fn get_point(self, transform: impl Into<Transform>) -> IKSolver_Point
GetPoint(crate::unity_engine::transform::Transform) overload
Sourcefn store_default_local_state(self)
fn store_default_local_state(self)
StoreDefaultLocalState() overload
Sourcefn fix_transforms(self)
fn fix_transforms(self)
FixTransforms() overload
Sourcefn is_valid(self) -> (bool, Il2CppString)
fn is_valid(self) -> (bool, Il2CppString)
IsValid(*mut::unity::Il2CppString) overload
Sourcefn set_chain(
self,
bone1: impl Into<Transform>,
bone2: impl Into<Transform>,
bone3: impl Into<Transform>,
root: impl Into<Transform>,
) -> bool
fn set_chain( self, bone1: impl Into<Transform>, bone2: impl Into<Transform>, bone3: impl Into<Transform>, root: impl Into<Transform>, ) -> bool
SetChain(crate::unity_engine::transform::Transform, crate::unity_engine::transform::Transform, crate::unity_engine::transform::Transform, crate::unity_engine::transform::Transform) overload
Sourcefn on_initiate(self)
fn on_initiate(self)
OnInitiate() overload
Sourcefn is_direct_hierarchy(self) -> bool
fn is_direct_hierarchy(self) -> bool
IsDirectHierarchy() overload
Sourcefn initiate_bones(self)
fn initiate_bones(self)
InitiateBones() overload
Sourcefn on_initiate_virtual(self)
fn on_initiate_virtual(self)
OnInitiateVirtual() overload
Sourcefn on_update_virtual(self)
fn on_update_virtual(self)
OnUpdateVirtual() overload
Sourcefn on_post_solve_virtual(self)
fn on_post_solve_virtual(self)
OnPostSolveVirtual() overload
Sourcefn get_bend_direction(
self,
ik_position: impl Into<Vector3>,
bend_normal: impl Into<Vector3>,
) -> Vector3
fn get_bend_direction( self, ik_position: impl Into<Vector3>, bend_normal: impl Into<Vector3>, ) -> Vector3
GetBendDirection(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3) 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: IIKSolverTrigonometric> IIKSolverTrigonometricMethods for __T
root_motion-final_ik-iksolvertrigonometric only.