Home
API: forms

Interface: RadiateParams

lifecycle-kit

lifecycle-kit


lifecycle-kit / forms / RadiateParams

Interface: RadiateParams

Defined in: forms/rules/radiate.ts:13

Properties

center

readonly center: Vec2

Defined in: forms/rules/radiate.ts:15

Centre to radiate from, in the parent's coordinate space.


count

readonly count: number

Defined in: forms/rules/radiate.ts:17

How many copies.


part

readonly part: string

Defined in: forms/rules/radiate.ts:27


spreadTurns

readonly spreadTurns: number

Defined in: forms/rules/radiate.ts:24

Fraction of a full turn the copies spread across, 0..1. 1.0 is a full ring (a sea anemone's arms, spokes of a wheel); a starfish with 5 arms spread across the whole turn uses 1.0, while a fan of gills spread across only the animal's front uses something smaller.


startTurn?

readonly optional startTurn?: number

Defined in: forms/rules/radiate.ts:26

Turn at which the first copy sits. 0 is "along +x".