Skip to main content

IIKSolverHeuristicMethods

Trait IIKSolverHeuristicMethods 

Source
pub trait IIKSolverHeuristicMethods: IIKSolverHeuristic {
Show 18 methods // Provided methods fn set_chain( self, hierarchy: impl Into<Array<Transform>>, root: impl Into<Transform>, ) -> bool { ... } fn add_bone(self, bone: impl Into<Transform>) { ... } fn store_default_local_state(self) { ... } fn fix_transforms(self) { ... } fn is_valid(self) -> (bool, Il2CppString) { ... } fn get_points(self) -> Array<IKSolver_Point> { ... } fn get_point(self, transform: impl Into<Transform>) -> IKSolver_Point { ... } fn get_min_bones(self) -> i32 { ... } fn get_bone_length_can_be_zero(self) -> bool { ... } fn get_allow_common_parent(self) -> bool { ... } fn on_initiate(self) { ... } fn on_update(self) { ... } fn initiate_bones(self) { ... } fn get_local_direction(self) -> Vector3 { ... } fn get_position_offset(self) -> f32 { ... } fn get_singularity_offset(self) -> Vector3 { ... } fn singularity_detected(self) -> bool { ... } fn ctor(self) { ... }
}

Provided Methods§

Source

fn set_chain( self, hierarchy: impl Into<Array<Transform>>, root: impl Into<Transform>, ) -> bool

SetChain(::unity::Array<crate::unity_engine::transform::Transform>, crate::unity_engine::transform::Transform) overload

Source

fn add_bone(self, bone: impl Into<Transform>)

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

Source

fn store_default_local_state(self)

StoreDefaultLocalState() overload

Source

fn fix_transforms(self)

FixTransforms() overload

Source

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

IsValid(*mut::unity::Il2CppString) 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 get_min_bones(self) -> i32

get_minBones() overload

Source

fn get_bone_length_can_be_zero(self) -> bool

get_boneLengthCanBeZero() overload

Source

fn get_allow_common_parent(self) -> bool

get_allowCommonParent() overload

Source

fn on_initiate(self)

OnInitiate() overload

Source

fn on_update(self)

OnUpdate() overload

Source

fn initiate_bones(self)

InitiateBones() overload

Source

fn get_local_direction(self) -> Vector3

get_localDirection() overload

Source

fn get_position_offset(self) -> f32

get_positionOffset() overload

Source

fn get_singularity_offset(self) -> Vector3

GetSingularityOffset() overload

Source

fn singularity_detected(self) -> bool

SingularityDetected() 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: IIKSolverHeuristic> IIKSolverHeuristicMethods for __T

Available on crate feature root_motion-final_ik-iksolverheuristic only.