Name | Type | Default | Description |
---|---|---|---|
duration |
number | The frame duration | |
tick |
number | 0 | optional The frame tick (= time spent since current frame) |
value |
number | 0 | optional The current frame value |
Properties:
Name | Type | Description |
---|---|---|
duration |
number | The frame duration |
tick |
number | The frame tick (= time spent since current frame) |
value |
number | The current frame value |
Methods
-
Update frame according to tick and duration, return true if frame is different
Name Type Default Description duration
number this.duration optional The frame duration Returns:
Type Description boolean