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§
Sourcefn set_chain(
self,
hierarchy: impl Into<Array<Transform>>,
root: impl Into<Transform>,
) -> bool
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
Sourcefn add_bone(self, bone: impl Into<Transform>)
fn add_bone(self, bone: impl Into<Transform>)
AddBone(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 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 get_min_bones(self) -> i32
fn get_min_bones(self) -> i32
get_minBones() overload
Sourcefn get_bone_length_can_be_zero(self) -> bool
fn get_bone_length_can_be_zero(self) -> bool
get_boneLengthCanBeZero() overload
Sourcefn get_allow_common_parent(self) -> bool
fn get_allow_common_parent(self) -> bool
get_allowCommonParent() overload
Sourcefn on_initiate(self)
fn on_initiate(self)
OnInitiate() overload
Sourcefn initiate_bones(self)
fn initiate_bones(self)
InitiateBones() overload
Sourcefn get_local_direction(self) -> Vector3
fn get_local_direction(self) -> Vector3
get_localDirection() overload
Sourcefn get_position_offset(self) -> f32
fn get_position_offset(self) -> f32
get_positionOffset() overload
Sourcefn get_singularity_offset(self) -> Vector3
fn get_singularity_offset(self) -> Vector3
GetSingularityOffset() overload
Sourcefn singularity_detected(self) -> bool
fn singularity_detected(self) -> bool
SingularityDetected() 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: IIKSolverHeuristic> IIKSolverHeuristicMethods for __T
root_motion-final_ik-iksolverheuristic only.