Class CaveCoverTypes
The cave cover's types (CaveCoverType) and the forms of cave they belong to. The run-time renderer reads the table for its densities and looks; the art generator builds one clump mesh a type and level in this order (SubmeshOf(CaveCoverType, int)); the cut's species lookup picks a cave's types by its form and biome.
public static class CaveCoverTypes
- Inheritance
-
CaveCoverTypes
- Inherited Members
Fields
All
Every type, in CaveCoverType order.
public static readonly CaveCoverTypeInfo[] All
Field Value
Count
How many types there are.
public const int Count = 27
Field Value
Ice
An ice cave's: frost and ice grit, sparkle, seeps, and at its mouth litter and lichen. Nothing lives deeper in.
public static readonly uint Ice
Field Value
Lava
A lava tube's: basalt grit, sulphur and mineral crusts, ember glints, sparkle; litter, lichen and a few bones by the mouth.
public static readonly uint Lava
Field Value
Levels
Levels of detail a type is drawn at (the art's submeshes per type).
public const int Levels = 3
Field Value
Living
The types that live (fungi, moss, glow-worms): none in an ice cave or a lava tube.
public static readonly uint Living
Field Value
Mine
A mine's: spoil and grit, timber, iron, ore crumbs and candle stubs; fungi on rotting timber, seeps, roots at the adit.
public static readonly uint Mine
Field Value
Natural
The natural limestone cave's own cover (Cave, Grotto, SeaCave): also the default where a cave carries no choice.
public static readonly uint Natural
Field Value
Methods
Bit(CaveCoverType)
A type's bit in a cave's mask.
public static uint Bit(CaveCoverType type)
Parameters
typeCaveCoverType
Returns
Info(CaveCoverType)
A type's row.
public static ref readonly CaveCoverTypeInfo Info(CaveCoverType type)
Parameters
typeCaveCoverType
Returns
Mask(params CaveCoverType[])
public static uint Mask(params CaveCoverType[] types)
Parameters
typesCaveCoverType[]
Returns
SubmeshOf(CaveCoverType, int)
The art's submesh of a type at a level.
public static int SubmeshOf(CaveCoverType type, int level)
Parameters
typeCaveCoverTypelevelint