pub struct LookAtRangeMap {
pub input_max_value: f32,
pub output_scale: f32,
}Expand description
Maps an input angle (degrees) to an output weight/rotation via a linear
range: clamp(|deg|, 0, input_max) / input_max * output_scale.
Fields§
§input_max_value: f32Input yaw or pitch angle at which the output reaches its maximum.
output_scale: f32Maximum bone angle in degrees or expression weight, depending on the mode.
Implementations§
Trait Implementations§
Source§impl Clone for LookAtRangeMap
impl Clone for LookAtRangeMap
Source§impl Debug for LookAtRangeMap
impl Debug for LookAtRangeMap
Auto Trait Implementations§
impl Freeze for LookAtRangeMap
impl RefUnwindSafe for LookAtRangeMap
impl Send for LookAtRangeMap
impl Sync for LookAtRangeMap
impl Unpin for LookAtRangeMap
impl UnsafeUnpin for LookAtRangeMap
impl UnwindSafe for LookAtRangeMap
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more