pub trait IIKSolverMethods: IIKSolver {
Show 19 methods
// Provided methods
fn is_valid(self) -> bool { ... }
fn is_valid_2(self) -> (bool, Il2CppString) { ... }
fn initiate(self, root: impl Into<Transform>) { ... }
fn update(self) { ... }
fn get_ik_position(self) -> Vector3 { ... }
fn set_ik_position(self, position: impl Into<Vector3>) { ... }
fn get_ik_position_weight(self) -> f32 { ... }
fn set_ik_position_weight(self, weight: impl Into<f32>) { ... }
fn get_root(self) -> Transform { ... }
fn get_initiated(self) -> bool { ... }
fn set_initiated(self, value: impl Into<bool>) { ... }
fn get_points(self) -> Array<IKSolver_Point> { ... }
fn get_point(self, transform: impl Into<Transform>) -> IKSolver_Point { ... }
fn fix_transforms(self) { ... }
fn store_default_local_state(self) { ... }
fn on_initiate(self) { ... }
fn on_update(self) { ... }
fn log_warning(self, message: impl Into<Il2CppString>) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn is_valid_2(self) -> (bool, Il2CppString)
fn is_valid_2(self) -> (bool, Il2CppString)
IsValid(*mut::unity::Il2CppString) overload
Sourcefn initiate(self, root: impl Into<Transform>)
fn initiate(self, root: impl Into<Transform>)
Initiate(crate::unity_engine::transform::Transform) overload
Sourcefn get_ik_position(self) -> Vector3
fn get_ik_position(self) -> Vector3
GetIKPosition() overload
Sourcefn set_ik_position(self, position: impl Into<Vector3>)
fn set_ik_position(self, position: impl Into<Vector3>)
SetIKPosition(crate::unity_engine::vector3::Vector3) overload
Sourcefn get_ik_position_weight(self) -> f32
fn get_ik_position_weight(self) -> f32
GetIKPositionWeight() overload
Sourcefn set_ik_position_weight(self, weight: impl Into<f32>)
fn set_ik_position_weight(self, weight: impl Into<f32>)
SetIKPositionWeight(f32) 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_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 fix_transforms(self)
fn fix_transforms(self)
FixTransforms() overload
Sourcefn store_default_local_state(self)
fn store_default_local_state(self)
StoreDefaultLocalState() overload
Sourcefn on_initiate(self)
fn on_initiate(self)
OnInitiate() overload
Sourcefn log_warning(self, message: impl Into<Il2CppString>)
fn log_warning(self, message: impl Into<Il2CppString>)
LogWarning(::unity::Il2CppString) 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: IIKSolver> IIKSolverMethods for __T
Available on crate feature
root_motion-final_ik-iksolver only.