pointSlot.presenceRadius
The mote's size: params.bodyR scaled by the same per-mote presence as the brightness, so the motes that read nearer are bigger and brighter together.
pointSlot.presenceRadius(layout: {readonly $: {readonly params: {readonly bodyR: number}}}): PointWorldSplatConfig['bodyRadius']
Import sim from shaders/std and use sim.agentRender.pointSlot.presenceRadius.
Parameters
| Name | Type | Notes |
|---|---|---|
layout | {readonly $: {readonly params: {readonly bodyR: number}}} |
Example
bodyRadius: pointSlot.presenceRadius(simLayout)
See also
pointSlot.twinkleBrightness— The mote's brightness: a twinkle atfreqcycles per second, blended in byparams.twinkle(0 steady, 1 full shimmer), times a per-mote presence so some motes read nearer than others.