Interface: TransparentMediumSource
What TRANSPARENT_SORT asks about water: the camera's medium, and
the medium at a point. A World answers both.
Methods
isCameraSubmerged
▸ isCameraSubmerged(): boolean
Returns
boolean
orderIndependentBandOf
▸ orderIndependentBandOf(object, material): number
While the source draws its blended layers order-independently, the band
an item draws in (OrderIndependentTransparency.bandOf); undefined
leaves it to its render order and medium.
Parameters
| Name | Type |
|---|---|
object | Object3D<Object3DEventMap> |
material | Material |
Returns
number
transparentMediumAt
▸ transparentMediumAt(x, y, z): TransparentMedium
Parameters
| Name | Type |
|---|---|
x | number |
y | number |
z | number |