Skip to content

Interface: CoreMesh

Runtime handle returned by buildCoreMesh. Wraps the molten inner-core sphere mesh, the radiating point-light at its centre, the per-frame animation hook driving both, and a disposal entry point.

Properties

mesh

ts
mesh: Mesh;

light

ts
light: PointLight;

Pulsing point-light parented to the mesh — escapes the body wherever a sol tile has been mined out.


radius

ts
radius: number;

tick

ts
tick: (elapsed) => void;

Advances the fire shader animation and the light's breathing intensity.

Parameters

ParameterType
elapsednumber

Returns

void


dispose

ts
dispose: () => void;

Returns

void

Distribué sous la licence indiquée dans le dépôt.