Skip to main content

IIKSolverLookAtMethods

Trait IIKSolverLookAtMethods 

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

Source

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

SetLookAtWeight(f32) overload

Source

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

SetLookAtWeight(f32, f32) overload

Source

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

Source

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

Source

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

Source

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

Source

fn store_default_local_state(self)

StoreDefaultLocalState() overload

Source

fn set_dirty(self)

SetDirty() 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 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

Source

fn on_initiate(self)

OnInitiate() overload

Source

fn on_update(self)

OnUpdate() overload

Source

fn get_spine_is_valid(self) -> bool

get_spineIsValid() overload

Source

fn get_spine_is_empty(self) -> bool

get_spineIsEmpty() overload

Source

fn solve_spine(self)

SolveSpine() overload

Source

fn get_head_is_valid(self) -> bool

get_headIsValid() overload

Source

fn get_head_is_empty(self) -> bool

get_headIsEmpty() overload

Source

fn solve_head(self)

SolveHead() overload

Source

fn get_eyes_is_valid(self) -> bool

get_eyesIsValid() overload

Source

fn get_eyes_is_empty(self) -> bool

get_eyesIsEmpty() overload

Source

fn solve_eyes(self)

SolveEyes() overload

Source

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

Source

fn set_bones( self, array: impl Into<Array<Transform>>, ) -> Array<IKSolverLookAt_LookAtBone>

SetBones(::unity::Array<crate::unity_engine::transform::Transform>, *mut::unity::Array<crate::root_motion::final_ik::iksolverlookat::IKSolverLookAt_LookAtBone>) 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: IIKSolverLookAt> IIKSolverLookAtMethods for __T

Available on crate feature root_motion-final_ik-iksolverlookat only.