Repeat
Extends SceneObject
Inherited from SceneObject
name()
name(value: string): this
Sets a custom display name for this object, overriding the default type-based name.
| Parameter | Type | Description |
|---|---|---|
value | string | The display name to assign. |
Methods
instance()
instance(index: number): RepeatInstance
Selects one instance of the pattern: the repeated features at that slot
as a whole geometry, plus their forwarded bucket accessors when the
repeat clones a single feature (r.instance(1).endEdges()). Slot 0 is
the original for circular, mirror, rotate and matrix repeats. Linear
repeats linearize the grid in axis order (the first axis varies
slowest) with the original at its own slot — 0 when not centered, the
center slot when centered — the same numbering the skip option uses;
a skipped slot is an error.
Returns: RepeatInstance
| Parameter | Type | Description |
|---|---|---|
index | number | The slot index. |