Table of Contents

Class PointOfInterestShape

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

What a terrain shaper (a carved cave, an overhang, an arch) decided for one site when the scene was planned: kept with the plan so a repaint can build the same mesh again without planning (or carving) twice.

[Serializable]
public class PointOfInterestShape
Inheritance
PointOfInterestShape
Inherited Members

Remarks

Plain values on purpose: the asset is read in builds, so it can hold no editor-only type. Each shaper owns the meaning of Values for its own Shaper name.

Fields

Position

Its anchor (a cave's mouth), scene metres.

public Vector3 Position

Field Value

Vector3

Seed

public int Seed

Field Value

int

Shaper

The shaper that wrote it, by its stable name.

public string Shaper

Field Value

string

SiteId

The site (Id) it belongs to.

public int SiteId

Field Value

int

Size

Its extents, metres (a tunnel's width, height and length).

public Vector3 Size

Field Value

Vector3

Values

Anything else the shaper needs, in an order it defines.

public float[] Values

Field Value

float[]

Yaw

Its heading in degrees about +y.

public float Yaw

Field Value

float