1681-engine / pixel / SwayPropOptions
Interface: SwayPropOptions ​
Defined in: src/pixel/SwayProp.ts:42
Properties ​
pace? ​
ts
optional pace?: number;Defined in: src/pixel/SwayProp.ts:48
Its pace against the def's speed (default 1): a little apart per prop, so a wood never sways in step.
phase? ​
ts
optional phase?: number;Defined in: src/pixel/SwayProp.ts:46
This prop's place in the cycle, 0..1 (tileHash of its tile keeps it from one visit to the next).
rig? ​
ts
optional rig?: SwayRig;Defined in: src/pixel/SwayProp.ts:52
A rig already built for this frame (props of one frame share one).
rowWidths? ​
ts
optional rowWidths?: readonly number[];Defined in: src/pixel/SwayProp.ts:50
Row widths for a crown (default: read off the frame with opaqueRowWidths).
variant? ​
ts
optional variant?: number;Defined in: src/pixel/SwayProp.ts:44
Which tufts list to read (default 0).