Skip to content

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 ​

ParameterType
prev| ExtrusionPrimitive | undefined
hostDomainHost
viewDomainView
addedIterable<Primitive<unknown>>
meshMeshLazy
items?ArrayLike<number>

Returns ​

| ExtrusionPrimitive | undefined

Released under the MIT License.