Function: syncDomain()
ts
function syncDomain(prev, host, view, added, mesh, items?): ExtrusionPrimitive | undefined;Experimental
The lazily loaded side of extrudeDomain (see the module comment): capture added (the primitives the trace view added), set the trace's camera and draw. Returns the extrusion primitive, if the trace is in 2.5D. items: per slice, the item its depth is read at.
Parameters
| Parameter | Type |
|---|---|
prev | | ExtrusionPrimitive | undefined |
host | DomainHost |
view | DomainView |
added | Iterable<Primitive<unknown>> |
mesh | MeshLazy |
items? | ArrayLike<number> |
Returns
| ExtrusionPrimitive | undefined