Struct WildlifeBodySpec
The shape of a procedural animal, in metres: torso, legs, neck and head, ears, horns and tail, and three colours. Read by every client to build one mesh per species (WildlifeBodyMesh); the server uses it only for the collider the builder sizes.
[Serializable]
public struct WildlifeBodySpec
- Inherited Members
Fields
Accent
[Tooltip("Muzzle, hooves or paws, horns.")]
public Color Accent
Field Value
- Color
Back
[Tooltip("Back and flanks (linear-ish sRGB, as authored).")]
public Color Back
Field Value
- Color
Belly
[Tooltip("Belly, throat and legs' inner side.")]
public Color Belly
Field Value
- Color
Depth
[Tooltip("Torso depth, back to belly.")]
public float Depth
Field Value
EarSize
[Tooltip("Ear length.")]
public float EarSize
Field Value
HeadLength
[Tooltip("Head length (with the muzzle).")]
public float HeadLength
Field Value
HeadSize
[Tooltip("Head height and width.")]
public float HeadSize
Field Value
HornSize
[Tooltip("Horn or antler size.")]
public float HornSize
Field Value
Horns
[Tooltip("Horns: none, antlers (deer), broad antlers (elk), tusks (boar).")]
public WildlifeHorns Horns
Field Value
LegLength
[Tooltip("Ground to belly.")]
public float LegLength
Field Value
LegThickness
[Tooltip("Leg thickness.")]
public float LegThickness
Field Value
Length
[Tooltip("Torso length, nose of the chest to the rump.")]
public float Length
Field Value
NeckLength
[Tooltip("Neck length.")]
public float NeckLength
Field Value
NeckRaise
[Tooltip("Neck angle up from horizontal, degrees.")]
public float NeckRaise
Field Value
TailLength
[Tooltip("Tail length.")]
public float TailLength
Field Value
TailRaise
[Tooltip("Tail angle up from hanging, degrees (a fox's brush is near level).")]
public float TailRaise
Field Value
Width
[Tooltip("Torso width.")]
public float Width
Field Value
Properties
Deer
public static WildlifeBodySpec Deer { get; }
Property Value
ShoulderHeight
Height of the back above the ground.
public float ShoulderHeight { get; }