Skip to main content

IIKSolverVR_BodyPartMethods

Trait IIKSolverVR_BodyPartMethods 

Source
pub trait IIKSolverVR_BodyPartMethods: IIKSolverVR_BodyPart {
Show 19 methods // Provided methods fn on_read( self, positions: impl Into<Array<Vector3>>, rotations: impl Into<Array<Quaternion>>, has_chest: impl Into<bool>, has_neck: impl Into<bool>, has_shoulders: impl Into<bool>, has_toes: impl Into<bool>, has_legs: impl Into<bool>, root_index: impl Into<i32>, index: impl Into<i32>, ) { ... } fn pre_solve(self) { ... } fn write(self) -> (Array<Vector3>, Array<Quaternion>) { ... } fn apply_offsets(self, scale: impl Into<f32>) { ... } fn reset_offsets(self) { ... } fn get_sqr_mag(self) -> f32 { ... } fn set_sqr_mag(self, value: impl Into<f32>) { ... } fn get_mag(self) -> f32 { ... } fn set_mag(self, value: impl Into<f32>) { ... } fn set_lod(self, lod: impl Into<i32>) { ... } fn read( self, positions: impl Into<Array<Vector3>>, rotations: impl Into<Array<Quaternion>>, has_chest: impl Into<bool>, has_neck: impl Into<bool>, has_shoulders: impl Into<bool>, has_toes: impl Into<bool>, has_legs: impl Into<bool>, root_index: impl Into<i32>, index: impl Into<i32>, ) { ... } fn move_position(self, position: impl Into<Vector3>) { ... } fn move_rotation(self, rotation: impl Into<Quaternion>) { ... } fn translate( self, position: impl Into<Vector3>, rotation: impl Into<Quaternion>, ) { ... } fn translate_root( self, new_root_pos: impl Into<Vector3>, new_root_rot: impl Into<Quaternion>, ) { ... } fn rotate_to( self, bone: impl Into<IKSolverVR_VirtualBone>, rotation: impl Into<Quaternion>, weight: impl Into<f32>, ) { ... } fn visualize(self, color: impl Into<Color>) { ... } fn visualize_2(self) { ... } fn ctor(self) { ... }
}

Provided Methods§

Source

fn on_read( self, positions: impl Into<Array<Vector3>>, rotations: impl Into<Array<Quaternion>>, has_chest: impl Into<bool>, has_neck: impl Into<bool>, has_shoulders: impl Into<bool>, has_toes: impl Into<bool>, has_legs: impl Into<bool>, root_index: impl Into<i32>, index: impl Into<i32>, )

OnRead(::unity::Array<crate::unity_engine::vector3::Vector3>, ::unity::Array<crate::unity_engine::quaternion::Quaternion>, bool, bool, bool, bool, bool, i32, i32) overload

Source

fn pre_solve(self)

PreSolve() overload

Source

fn write(self) -> (Array<Vector3>, Array<Quaternion>)

Write(*mut::unity::Array<crate::unity_engine::vector3::Vector3>, *mut::unity::Array<crate::unity_engine::quaternion::Quaternion>) overload

Source

fn apply_offsets(self, scale: impl Into<f32>)

ApplyOffsets(f32) overload

Source

fn reset_offsets(self)

ResetOffsets() overload

Source

fn get_sqr_mag(self) -> f32

get_sqrMag() overload

Source

fn set_sqr_mag(self, value: impl Into<f32>)

set_sqrMag(f32) overload

Source

fn get_mag(self) -> f32

get_mag() overload

Source

fn set_mag(self, value: impl Into<f32>)

set_mag(f32) overload

Source

fn set_lod(self, lod: impl Into<i32>)

SetLOD(i32) overload

Source

fn read( self, positions: impl Into<Array<Vector3>>, rotations: impl Into<Array<Quaternion>>, has_chest: impl Into<bool>, has_neck: impl Into<bool>, has_shoulders: impl Into<bool>, has_toes: impl Into<bool>, has_legs: impl Into<bool>, root_index: impl Into<i32>, index: impl Into<i32>, )

Read(::unity::Array<crate::unity_engine::vector3::Vector3>, ::unity::Array<crate::unity_engine::quaternion::Quaternion>, bool, bool, bool, bool, bool, i32, i32) overload

Source

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

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

Source

fn move_rotation(self, rotation: impl Into<Quaternion>)

MoveRotation(crate::unity_engine::quaternion::Quaternion) overload

Source

fn translate( self, position: impl Into<Vector3>, rotation: impl Into<Quaternion>, )

Translate(crate::unity_engine::vector3::Vector3, crate::unity_engine::quaternion::Quaternion) overload

Source

fn translate_root( self, new_root_pos: impl Into<Vector3>, new_root_rot: impl Into<Quaternion>, )

TranslateRoot(crate::unity_engine::vector3::Vector3, crate::unity_engine::quaternion::Quaternion) overload

Source

fn rotate_to( self, bone: impl Into<IKSolverVR_VirtualBone>, rotation: impl Into<Quaternion>, weight: impl Into<f32>, )

RotateTo(crate::root_motion::final_ik::iksolvervr::IKSolverVR_VirtualBone, crate::unity_engine::quaternion::Quaternion, f32) overload

Source

fn visualize(self, color: impl Into<Color>)

Visualize(crate::unity_engine::color::Color) overload

Source

fn visualize_2(self)

Visualize() 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: IIKSolverVR_BodyPart> IIKSolverVR_BodyPartMethods for __T

Available on crate feature root_motion-final_ik-iksolvervr only.