pub trait IIKSolverLookAtMethods: IIKSolverLookAt {
Show 27 methods
// Provided methods
fn set_look_at_weight(self, weight: impl Into<f32>) { ... }
fn set_look_at_weight_2(
self,
weight: impl Into<f32>,
body_weight: impl Into<f32>,
) { ... }
fn set_look_at_weight_3(
self,
weight: impl Into<f32>,
body_weight: impl Into<f32>,
head_weight: impl Into<f32>,
) { ... }
fn set_look_at_weight_4(
self,
weight: impl Into<f32>,
body_weight: impl Into<f32>,
head_weight: impl Into<f32>,
eyes_weight: impl Into<f32>,
) { ... }
fn set_look_at_weight_5(
self,
weight: impl Into<f32>,
body_weight: impl Into<f32>,
head_weight: impl Into<f32>,
eyes_weight: impl Into<f32>,
clamp_weight: impl Into<f32>,
) { ... }
fn set_look_at_weight_6(
self,
weight: impl Into<f32>,
body_weight: impl Into<f32>,
head_weight: impl Into<f32>,
eyes_weight: impl Into<f32>,
clamp_weight: impl Into<f32>,
clamp_weight_head: impl Into<f32>,
clamp_weight_eyes: impl Into<f32>,
) { ... }
fn store_default_local_state(self) { ... }
fn set_dirty(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 set_chain(
self,
spine: impl Into<Array<Transform>>,
head: impl Into<Transform>,
eyes: impl Into<Array<Transform>>,
root: impl Into<Transform>,
) -> bool { ... }
fn on_initiate(self) { ... }
fn on_update(self) { ... }
fn get_spine_is_valid(self) -> bool { ... }
fn get_spine_is_empty(self) -> bool { ... }
fn solve_spine(self) { ... }
fn get_head_is_valid(self) -> bool { ... }
fn get_head_is_empty(self) -> bool { ... }
fn solve_head(self) { ... }
fn get_eyes_is_valid(self) -> bool { ... }
fn get_eyes_is_empty(self) -> bool { ... }
fn solve_eyes(self) { ... }
fn get_forwards(
self,
base_forward: impl Into<Vector3>,
target_forward: impl Into<Vector3>,
bones: impl Into<i32>,
clamp: impl Into<f32>,
) -> (Array<Vector3>, Array<Vector3>) { ... }
fn set_bones(
self,
array: impl Into<Array<Transform>>,
) -> Array<IKSolverLookAt_LookAtBone> { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn set_look_at_weight(self, weight: impl Into<f32>)
fn set_look_at_weight(self, weight: impl Into<f32>)
SetLookAtWeight(f32) overload
Sourcefn set_look_at_weight_2(
self,
weight: impl Into<f32>,
body_weight: impl Into<f32>,
)
fn set_look_at_weight_2( self, weight: impl Into<f32>, body_weight: impl Into<f32>, )
SetLookAtWeight(f32, f32) overload
Sourcefn set_look_at_weight_3(
self,
weight: impl Into<f32>,
body_weight: impl Into<f32>,
head_weight: impl Into<f32>,
)
fn set_look_at_weight_3( self, weight: impl Into<f32>, body_weight: impl Into<f32>, head_weight: impl Into<f32>, )
SetLookAtWeight(f32, f32, f32) overload
Sourcefn set_look_at_weight_4(
self,
weight: impl Into<f32>,
body_weight: impl Into<f32>,
head_weight: impl Into<f32>,
eyes_weight: impl Into<f32>,
)
fn set_look_at_weight_4( self, weight: impl Into<f32>, body_weight: impl Into<f32>, head_weight: impl Into<f32>, eyes_weight: impl Into<f32>, )
SetLookAtWeight(f32, f32, f32, f32) overload
Sourcefn set_look_at_weight_5(
self,
weight: impl Into<f32>,
body_weight: impl Into<f32>,
head_weight: impl Into<f32>,
eyes_weight: impl Into<f32>,
clamp_weight: impl Into<f32>,
)
fn set_look_at_weight_5( self, weight: impl Into<f32>, body_weight: impl Into<f32>, head_weight: impl Into<f32>, eyes_weight: impl Into<f32>, clamp_weight: impl Into<f32>, )
SetLookAtWeight(f32, f32, f32, f32, f32) overload
Sourcefn set_look_at_weight_6(
self,
weight: impl Into<f32>,
body_weight: impl Into<f32>,
head_weight: impl Into<f32>,
eyes_weight: impl Into<f32>,
clamp_weight: impl Into<f32>,
clamp_weight_head: impl Into<f32>,
clamp_weight_eyes: impl Into<f32>,
)
fn set_look_at_weight_6( self, weight: impl Into<f32>, body_weight: impl Into<f32>, head_weight: impl Into<f32>, eyes_weight: impl Into<f32>, clamp_weight: impl Into<f32>, clamp_weight_head: impl Into<f32>, clamp_weight_eyes: impl Into<f32>, )
SetLookAtWeight(f32, f32, f32, f32, f32, f32, f32) 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 set_chain(
self,
spine: impl Into<Array<Transform>>,
head: impl Into<Transform>,
eyes: impl Into<Array<Transform>>,
root: impl Into<Transform>,
) -> bool
fn set_chain( self, spine: impl Into<Array<Transform>>, head: impl Into<Transform>, eyes: impl Into<Array<Transform>>, root: impl Into<Transform>, ) -> bool
SetChain(::unity::Array<crate::unity_engine::transform::Transform>, crate::unity_engine::transform::Transform, ::unity::Array<crate::unity_engine::transform::Transform>, crate::unity_engine::transform::Transform) overload
Sourcefn on_initiate(self)
fn on_initiate(self)
OnInitiate() overload
Sourcefn get_spine_is_valid(self) -> bool
fn get_spine_is_valid(self) -> bool
get_spineIsValid() overload
Sourcefn get_spine_is_empty(self) -> bool
fn get_spine_is_empty(self) -> bool
get_spineIsEmpty() overload
Sourcefn solve_spine(self)
fn solve_spine(self)
SolveSpine() overload
Sourcefn get_head_is_valid(self) -> bool
fn get_head_is_valid(self) -> bool
get_headIsValid() overload
Sourcefn get_head_is_empty(self) -> bool
fn get_head_is_empty(self) -> bool
get_headIsEmpty() overload
Sourcefn solve_head(self)
fn solve_head(self)
SolveHead() overload
Sourcefn get_eyes_is_valid(self) -> bool
fn get_eyes_is_valid(self) -> bool
get_eyesIsValid() overload
Sourcefn get_eyes_is_empty(self) -> bool
fn get_eyes_is_empty(self) -> bool
get_eyesIsEmpty() overload
Sourcefn solve_eyes(self)
fn solve_eyes(self)
SolveEyes() overload
Sourcefn get_forwards(
self,
base_forward: impl Into<Vector3>,
target_forward: impl Into<Vector3>,
bones: impl Into<i32>,
clamp: impl Into<f32>,
) -> (Array<Vector3>, Array<Vector3>)
fn get_forwards( self, base_forward: impl Into<Vector3>, target_forward: impl Into<Vector3>, bones: impl Into<i32>, clamp: impl Into<f32>, ) -> (Array<Vector3>, Array<Vector3>)
GetForwards(*mut::unity::Array<crate::unity_engine::vector3::Vector3>, crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3, i32, f32) 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: IIKSolverLookAt> IIKSolverLookAtMethods for __T
root_motion-final_ik-iksolverlookat only.