ForwardCounter (of Forward)¶
-
class
ForwardCounter¶ Defined in ForwardCounter.sc.
This extends the functionality of the
Forwardcycler by allowing for cycling forward through the cels in a loop a specified number of times and then stopping.Example usage:
; Cycle through the diamond's cels three times (diamond setCycle: ForwardCounter 3)
Properties¶
Inherited from Forward:
| Property | Description |
|---|---|
| client | |
| caller | |
| cycleDir | |
| cycleCnt | |
| completed | |
| name |
Defined in ForwardCounter:
| Property | Description |
|---|---|
| count |
Methods¶
-
init(theClient theCount [theCaller]) Parameters: - theClient (heapPtr) – The
Propto which this cycler is attached. - theCount (number) – The number of times to cycle through the prop’s cels.
- theCaller (heapPtr) – Optional caller that will have its cue() method called when the cycling is done.
- theClient (heapPtr) – The
-
cycleDone()
