BlobShadowData
Defined in: sdk/src/render/blobShadow.ts:33
The fields of the BlobShadow component.
Properties
Section titled “Properties”enabled
Section titled “enabled”enabled:
boolean
Defined in: sdk/src/render/blobShadow.ts:34
fadeHeight
Section titled “fadeHeight”fadeHeight:
number
Defined in: sdk/src/render/blobShadow.ts:44
How far above the ground the thing may be before its shadow is gone. 0 never fades it.
groundY
Section titled “groundY”groundY:
number
Defined in: sdk/src/render/blobShadow.ts:42
Height of the flat ground, in world units, when no ground function is set.
lift:
number
Defined in: sdk/src/render/blobShadow.ts:48
How far above the ground the disc is drawn, so it does not flicker against it.
opacity
Section titled “opacity”opacity:
number
Defined in: sdk/src/render/blobShadow.ts:38
How dark the disc is at its centre, 0 to 1.
radius
Section titled “radius”radius:
number
Defined in: sdk/src/render/blobShadow.ts:36
Radius of the disc where the thing stands on the ground, in world units.
shrink
Section titled “shrink”shrink:
number
Defined in: sdk/src/render/blobShadow.ts:46
How small the disc is at that height, as a share of its size on the ground: 0 keeps its size, 1 shrinks it to nothing.
softness
Section titled “softness”softness:
number
Defined in: sdk/src/render/blobShadow.ts:40
How soft its edge is: 0 a hard-edged disc, 1 a disc that fades from its centre.