isEmpty
function isEmpty(self): boolean;
Function: isEmpty()
function isEmpty(self): boolean;Defined in: packages/three/src/Scene.ts:114
Whether the scene root has no children.
Parameters
| Parameter | Type |
|---|---|
self | Scene |
Returns
boolean
Remarks
The "is there anything to draw" check — worth making before an optional pass, so an empty overlay tier costs nothing.