Struct RaceProportions
Default body proportions for a race. These values are applied as bone scaling on character spawn. 1.0 = default human proportion. Values are multipliers on individual bone localScale.
[Serializable]
public struct RaceProportions
- Inherited Members
Fields
ArmLength
Arm length multiplier (affects upper/lower arm bones).
[Range(0.7, 1.3)]
public float ArmLength
Field Value
HeadScale
Head scale multiplier (affects head and neck bones).
[Range(0.7, 1.3)]
public float HeadScale
Field Value
Height
Overall height multiplier (affects spine and leg bones).
[Range(0.5, 1.5)]
[Tooltip("Overall height multiplier. Stacks with LegLength/TorsoLength for intentional compounding (e.g., Dwarf: Height=0.75, LegLength=0.70 → legs = 0.525x).")]
public float Height
Field Value
LegLength
Leg length multiplier (affects upper/lower leg bones). Stacks with Height.
[Range(0.7, 1.3)]
public float LegLength
Field Value
ShoulderWidth
Shoulder width multiplier (affects clavicle/shoulder bone offsets).
[Range(0.7, 1.3)]
public float ShoulderWidth
Field Value
TorsoLength
Torso length multiplier (affects spine and chest bones). Stacks with Height.
[Range(0.7, 1.3)]
public float TorsoLength
Field Value
Properties
Default
Returns the default human proportions (all 1.0).
public static RaceProportions Default { get; }