Interface IScatterArrangementOptions

Options for ScatterArrangement.

Hierarchy

Properties

itemWidth?: number

When provided, replaces the size of each child object when arranging.

jitter?: boolean

If true, apply some random variance to the position and / or rotation of each child object. Uses minJitterOffset, maxJitterOffset, minJitterRotation and maxJitterRotation to decide the range of offsets / rotations.

localBounds?: Bounds

When provided, used instead of the bounds of the parent object when arranging.

margin?: Vector3

How much to expand the bounds of each child object, in each axis. Defaults to zero.

maxJitterOffset?: Vector3
maxJitterRotation?: Rotation
minJitterOffset?: Vector3
minJitterRotation?: Rotation

Generated using TypeDoc