Function: orderTranslucent()
ts
function orderTranslucent(objects, camera, base?, step?): number;Experimental
Give the translucent meshes among objects (searched recursively) render orders base, base + step, … from the farthest to the nearest (view depth of their world bounding box center), for scenes where three.js' own depth sort doesn't apply. Returns the next free order.
Parameters
| Parameter | Type | Default value |
|---|---|---|
objects | readonly Object3D<Object3DEventMap>[] | undefined |
camera | Camera | undefined |
base | number | 0 |
step | number | 1e-3 |
Returns
number