interface ScatterRock
One rock. Everything a renderer needs and nothing it can derive.
universe/src/scatter.ts:55Members
angularityreadonly
angularity: number
0 rounded, 1 angular. Decides which mesh and how sharp its edges read.
directionreadonly
Where it stands, in the body's rotating axes.
elevationreadonly
elevation: number
The drawn ground under it — drawnElevation, so it sits on the mesh.
indexreadonly
index: number
The o: segment of this rock's address, within its region.
kindreadonly
radiusreadonly
radius: number
Half its longest dimension, meters.
seatreadonly
seat: number
And a fixed depth under that, meters. See where it is written.
sinkreadonly
sink: number
How much of it is under the surface, 0 to 1 of its own radius.
spinreadonly
spin: number
Turn about the local vertical.
tiltreadonly
tilt: number
Lean off the local vertical, and which way.
tiltAzimuthreadonly
tiltAzimuth: number
tonereadonly
tone: number
Reflectance lean against the ground it lies on: −1 darker, +1 brighter.