Table of Contents

Class CaveLavaHeat

Namespace
FishMMO.Client
Assembly
FishMMO.Client.dll

The hot air over a lava tube's molten lava round the camera (2026-10-20): each of the nearest MaxSpots lava lights (Magma, baked by the cut) as a ball of boiling air over its body (HeatBall(in SceneEmitter)), for the heat shimmer to bend the frame through (FishHeatShimmerFeature, FishHeatShimmer.shader's heat spots).

public static class CaveLavaHeat
Inheritance
CaveLavaHeat
Inherited Members

Remarks

Play mode and the scene view, client only. Searched again only when the camera has moved FishMMO.Client.CaveLavaHeat.Refind metres or the scenes' emitters changed, so a frame with no lava near costs one distance check.

Fields

MaxSpots

Spots the shimmer takes at once (FishHeatShimmer.shader's HEAT_SPOTS).

public const int MaxSpots = 8

Field Value

int

Reach

Metres from the camera a lava light's hot air is looked for: past it the shimmer is under a pixel.

public const float Reach = 45

Field Value

float

Methods

Spots(Vector3, Vector4[])

The hot-air balls round eye, nearest first, into into (xyz centre, w radius; MaxSpots long, the unused ones zero); how many there are.

public static int Spots(Vector3 eye, Vector4[] into)

Parameters

eye Vector3
into Vector4[]

Returns

int