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§
Sourcefn 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 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
Sourcefn write(self) -> (Array<Vector3>, Array<Quaternion>)
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
Sourcefn apply_offsets(self, scale: impl Into<f32>)
fn apply_offsets(self, scale: impl Into<f32>)
ApplyOffsets(f32) overload
Sourcefn reset_offsets(self)
fn reset_offsets(self)
ResetOffsets() overload
Sourcefn get_sqr_mag(self) -> f32
fn get_sqr_mag(self) -> f32
get_sqrMag() overload
Sourcefn set_sqr_mag(self, value: impl Into<f32>)
fn set_sqr_mag(self, value: impl Into<f32>)
set_sqrMag(f32) overload
Sourcefn 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 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
Sourcefn move_position(self, position: impl Into<Vector3>)
fn move_position(self, position: impl Into<Vector3>)
MovePosition(crate::unity_engine::vector3::Vector3) overload
Sourcefn move_rotation(self, rotation: impl Into<Quaternion>)
fn move_rotation(self, rotation: impl Into<Quaternion>)
MoveRotation(crate::unity_engine::quaternion::Quaternion) overload
Sourcefn translate(
self,
position: impl Into<Vector3>,
rotation: impl Into<Quaternion>,
)
fn translate( self, position: impl Into<Vector3>, rotation: impl Into<Quaternion>, )
Translate(crate::unity_engine::vector3::Vector3, crate::unity_engine::quaternion::Quaternion) overload
Sourcefn translate_root(
self,
new_root_pos: impl Into<Vector3>,
new_root_rot: impl Into<Quaternion>,
)
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
Sourcefn rotate_to(
self,
bone: impl Into<IKSolverVR_VirtualBone>,
rotation: impl Into<Quaternion>,
weight: impl Into<f32>,
)
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
Sourcefn visualize(self, color: impl Into<Color>)
fn visualize(self, color: impl Into<Color>)
Visualize(crate::unity_engine::color::Color) overload
Sourcefn visualize_2(self)
fn visualize_2(self)
Visualize() 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: IIKSolverVR_BodyPart> IIKSolverVR_BodyPartMethods for __T
root_motion-final_ik-iksolvervr only.