Skip to main content

IIKSolverMethods

Trait IIKSolverMethods 

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

Source

fn is_valid(self) -> bool

IsValid() overload

Source

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

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

Source

fn initiate(self, root: impl Into<Transform>)

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

Source

fn update(self)

Update() overload

Source

fn get_ik_position(self) -> Vector3

GetIKPosition() overload

Source

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

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

Source

fn get_ik_position_weight(self) -> f32

GetIKPositionWeight() overload

Source

fn set_ik_position_weight(self, weight: impl Into<f32>)

SetIKPositionWeight(f32) overload

Source

fn get_root(self) -> Transform

GetRoot() 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_points(self) -> Array<IKSolver_Point>

GetPoints() overload

Source

fn get_point(self, transform: impl Into<Transform>) -> IKSolver_Point

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

Source

fn fix_transforms(self)

FixTransforms() overload

Source

fn store_default_local_state(self)

StoreDefaultLocalState() overload

Source

fn on_initiate(self)

OnInitiate() overload

Source

fn on_update(self)

OnUpdate() overload

Source

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

LogWarning(::unity::Il2CppString) 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: IIKSolver> IIKSolverMethods for __T

Available on crate feature root_motion-final_ik-iksolver only.