Table of Contents

Struct WildlifeBodySpec

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

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

float

EarSize

[Tooltip("Ear length.")]
public float EarSize

Field Value

float

HeadLength

[Tooltip("Head length (with the muzzle).")]
public float HeadLength

Field Value

float

HeadSize

[Tooltip("Head height and width.")]
public float HeadSize

Field Value

float

HornSize

[Tooltip("Horn or antler size.")]
public float HornSize

Field Value

float

Horns

[Tooltip("Horns: none, antlers (deer), broad antlers (elk), tusks (boar).")]
public WildlifeHorns Horns

Field Value

WildlifeHorns

LegLength

[Tooltip("Ground to belly.")]
public float LegLength

Field Value

float

LegThickness

[Tooltip("Leg thickness.")]
public float LegThickness

Field Value

float

Length

[Tooltip("Torso length, nose of the chest to the rump.")]
public float Length

Field Value

float

NeckLength

[Tooltip("Neck length.")]
public float NeckLength

Field Value

float

NeckRaise

[Tooltip("Neck angle up from horizontal, degrees.")]
public float NeckRaise

Field Value

float

TailLength

[Tooltip("Tail length.")]
public float TailLength

Field Value

float

TailRaise

[Tooltip("Tail angle up from hanging, degrees (a fox's brush is near level).")]
public float TailRaise

Field Value

float

Width

[Tooltip("Torso width.")]
public float Width

Field Value

float

Properties

Deer

public static WildlifeBodySpec Deer { get; }

Property Value

WildlifeBodySpec

ShoulderHeight

Height of the back above the ground.

public float ShoulderHeight { get; }

Property Value

float