Interface IPileArrangementOptions

Options for PileArrangement.

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
maxPyramidLayer?: number

When provided, sets the maximum width for a pyramid layer

minJitterOffset?: Vector3
minJitterRotation?: Rotation
minPyramidLayer?: number

When provided, sets the minimum width for a pyramid layer

minQuantityForPyramid?: number

When provided, sets the minium number of items required to build a pyramid

triangle?: boolean

When provided, toggles between triangular based and square based pyramids

Generated using TypeDoc