Skip to content

Intermact API Reference / @intermact/core / repeatObject

Function: repeatObject()

repeatObject(object, count, step): IMObject2D

Defined in: packages/core/src/pcg/operators.ts:122

Repeat an object count times, each offset by a cumulative step (design.md §6.6). Named repeatObject to avoid colliding with the animation repeat wrapper in the flat @intermact/core namespace.

Parameters

object

IMObject2D

count

number

step

ObjectTransform2D

Returns

IMObject2D

Intermact v1.0 — 文档覆盖 Phase-1 / Phase-2 / Phase-3(全阶段)