InstancedGraphicProps Namespace

Function

Name Description
InstancedGraphicProps.collectTransferables Add all Transferable objects from props

Defined in

InstancedGraphicProps Type

InstancedGraphicProps = Omit<InstancedGraphicParams, "transformCenter" | "range"> & { range?: LowAndHighXYZ, transformCenter: XYAndZ }

A representation of an InstancedGraphicParams that can be copied using structured cloning, e.g., when transferring between Workers. This representation is used by RenderInstancesParams.

@see - toProps and fromProps to convert between representations.

  • collectTransferables to extract Transferable objects for structured clone.

Defined in

Last Updated: 14 November, 2024