Table of Contents

Struct ScenePropSet.Prototype

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

One kind of prop: the prefab drawn (its LOD group, meshes and materials) and the layer it draws on.

[Serializable]
public struct ScenePropSet.Prototype
Inherited Members

Fields

Layer

[Tooltip("The layer the prop draws on; -1 keeps each renderer's own.")]
public int Layer

Field Value

int

Materials

The materials the prefab is drawn in instead of its own, or empty for its own (2026-10-16): one per material slot of every renderer, level by level in the LOD group's order (each level's renderers in order, each renderer's slots in order). A structure piece is laid in its biome's structure palette this way: the kit's prefab, the palette's materials, so a palette never needs a prefab of its own. A list of any other length is ignored.

[Tooltip("The materials the prefab is drawn in instead of its own (every renderer's slots, level by level); empty draws its own.")]
public Material[] Materials

Field Value

Material[]

Prefab

public GameObject Prefab

Field Value

GameObject

Properties

Dressed

True when the prototype is drawn in materials of its own (Materials).

public bool Dressed { get; }

Property Value

bool