pub struct BodyFit {Show 17 fields
pub stature_scale: f32,
pub torso_scale_y: f32,
pub leg_scale_y: f32,
pub arm_span_scale_x: f32,
pub shoulder_scale_x: f32,
pub chest_radial: f32,
pub waist_radial: f32,
pub hip_radial: f32,
pub pregnancy_abdomen: f32,
pub pelvis_y_norm: f32,
pub waist_y_norm: f32,
pub chest_y_norm: f32,
pub shoulder_y_norm: f32,
pub hidden_keys: Vec<String>,
pub used_fields: Vec<String>,
pub honesty_notes: Vec<String>,
pub identity: bool,
}Expand description
Numeric view transform applied to decoded organ vertices in CCF space, before the portal’s global orbit-frame normalise.
Fields§
§stature_scale: f32§torso_scale_y: f32§leg_scale_y: f32§arm_span_scale_x: f32§shoulder_scale_x: f32§chest_radial: f32§waist_radial: f32§hip_radial: f32§pregnancy_abdomen: f320 = none; ~0.45 = third-trimester coarse bulge.
pelvis_y_norm: f32§waist_y_norm: f32§chest_y_norm: f32§shoulder_y_norm: f32§used_fields: Vec<String>§honesty_notes: Vec<String>§identity: boolTrue when the fit is the identity (no declared geometry).
Implementations§
Source§impl BodyFit
impl BodyFit
Sourcepub fn hides(&self, organ_key: &str) -> bool
pub fn hides(&self, organ_key: &str) -> bool
Whether organ_key should be omitted from the assembled body.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BodyFit
impl<'de> Deserialize<'de> for BodyFit
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for BodyFit
Auto Trait Implementations§
impl Freeze for BodyFit
impl RefUnwindSafe for BodyFit
impl Send for BodyFit
impl Sync for BodyFit
impl Unpin for BodyFit
impl UnsafeUnpin for BodyFit
impl UnwindSafe for BodyFit
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