Interface: BodyRingsHandle
Runtime handle returned by buildBodyRings. Owns a carrier group (attached to the planet) and exposes live setters to tweak the ring variation without rebuilding.
Properties
carrier
ts
carrier: Group;The group to attach to the planet's group (NOT the mesh directly).
mesh
ts
mesh: Mesh;Methods
tick()
ts
tick(dt): void;Advances the ring's internal spin angle by dt and refreshes the world-space uniforms. Pass 0 (or skip the call) to freeze the rotation — pause is just absence of ticks.
Parameters
| Parameter | Type |
|---|---|
dt | number |
Returns
void
updateVariation()
ts
updateVariation(v): void;Mutate live uniforms + rebuild the geometry when inner/outer ratios change.
Parameters
| Parameter | Type |
|---|---|
v | RingVariation |
Returns
void
dispose()
ts
dispose(): void;Returns
void