-
Notifications
You must be signed in to change notification settings - Fork 0
KeyTextChannel
rech edited this page Jun 15, 2026
·
1 revision
Description
A text channel whose value is defined by interpolating between keyframes.
Remarks
Created via TextChannel.create().
| Name | Type | Description |
|---|---|---|
keyCount |
number | The number of keys in this channel |
Description
Set the default easing for subsequently added keys.
Parameters
| Name | Type | Description |
|---|---|---|
easing |
string | The easing type |
Return types
Remarks
_
Example
local ch = TextChannel.create()
ch.setDefaultEasing("so")Description
Set keys to transition from the beginning of the text.
Parameters
_
Return types
Remarks
_
Example
ch.transitionFromStart()Description
Set keys to transition from the first differing character (default).
Parameters
_
Return types
Remarks
_
Example
ch.transitionFromFirstDifference()Description
Add a keyframe to this channel.
Parameters
| Name | Type | Description |
|---|---|---|
timing |
number | Timing of the key |
val |
string | Text value of the key |
easing |
string | Easing of the key |
Return types
Remarks
_
Example
ch.addKey(0, "Hello")
ch.addKey(1000, "World")Description
Remove the first key with the exact timing.
Parameters
| Name | Type | Description |
|---|---|---|
timing |
number | Timing of the key to remove |
Return types
Remarks
_
Example
ch.removeKeyAtTiming(1000)Global
- Global Functions
- Scene
- Channel
- StringChannel
- TextChannel
- Trigger
- TriggerChannel
- Context
- Event
- Convert
Channels
Controllers
- Controller
- CanvasController
- ImageController
- SpriteController
- TextController
- CameraController
- TrackController
- NoteGroupController
Internal Controllers
Data types