The parent automaton.
List of fx sections.
List of bezier nodes.
An array of bool where you do not want to interpolate the value.
Its length is same as curve.__automaton.resolution * curve.__automaton.length + 1
.
Limiting the emit of previewTime because it's too much
I'm crying
An array of precalculated value.
Its length is same as curve.__automaton.resolution * curve.__automaton.length + 1
.
__values but without fxs.
Load a curve data.
Data of curve
Serialize its current state.
Serialized state
List of fx sections.
Whether the curve is being used in somewhere or not.
The length of this curve.
List of bezier nodes.
The most important status of its current status.
The second step of precalc: apply fxs to the generated curves.
The first step of precalc: generate a curve out of nodes.
Search for vacance fx row for given time and length.
Minimal free fx row
Search for fx section that has given id then return index of it. If it couldn't find the section, it will throw an error instead.
Id of section you want to grab
The index of the section
Search for node that has given id then return index of it. If it couldn't find the node, it will throw an error instead.
Id of node you want to grab
The index of the node
Serialize its fxs.
Serialized fxs
Serialize its nodes.
Serialized nodes
Sort fxs by time.
Sort nodes by time.
Watch for status changes. Execute given procedure immediately. If the procedure changes its status, emit an event.
A procedure that might change its status
Bypass or unbypass a fx.
Id of the fx you want to change
If true, fx will be bypassed
Change a param of a fx.
Id of the fx you want to change
Name of the param you want to change
Your desired value
Change row of a fx.
Id of the fx you want to move
Row
Create a fx.
If it couldn't create an fx, it will return null
instead.
Beginning time of new fx
Length of new fx
Definition id (kind) of new fx
Id of the new fx
Create a fx from dumped data. If it couldn't create an fx, it will return empty string instead.
Dumped fx data
Id of the new fx
Create a node.
Time of new node
Value of new node
Data of the node
I'm crying Intended to be used in ChannelWithGUI via {@link ChannelItemWithGUI#curve}.
Update the preview time. Do not call this function if you're not a [[ChannelItemCurveWithGUI]].
Move a fx --force. Best for undo-redo operation. probably.
Id of the fx you want to move
Beginning time
Row
Dump data of a fx section.
Id of a fx section you want to dump
Data of the fx
Get the nth fx section.
Index of the fx section
Data of the fx section
Dump data of a next node from a specified node.
It might return null
when the specified node is the last node.
Id of the node you want to refer
Data of the next node
Dump data of a node.
Id of the node you want to dump
Data of the node
Get the nth node.
Index of the node
Data of the node
Return how many node the curve currently have.
Nodes count
Dump data of a previous node from a specified node.
It might return null
when the specified node is the first node.
Id of the node you want to refer
Data of the previous node
Return a status that matches to the given code, if exist.
The code of status you want to get
Return the value of specified time point.
Time at the point you want to grab the value.
Result value
Same as getValue, but without fxs. This is an exclusive feature for WithGUI variant.
Time at the point you want to grab the value.
Result value
I'm crying Intended to be used in ChannelWithGUI via {@link ChannelItemWithGUI#curve}.
Check whether the node is the first node or not.
Id of the node you want to check
Check whether the node is the last node or not.
Id of the node you want to check
Move a fx.
Id of the fx you want to move
Beginning time
Move a handle of a node in the time axis.
Id of the node you want to operate
Which handle?
Time
Move a handle of a node in the value axis.
Id of the node you want to operate
Which handle?
Value
Move a node in the time axis.
Id of the node you want to move
Time
Move a node in the value axis.
Id of the node you want to move
Value
Precalculate value of samples.
Remove a fx.
Id of the fx you want to remove
Remove a node.
Id of the node you want to remove
Reset a handle of a node.
Id of the node you want to operate
Which handle?
Resize a fx.
Index of the fx you want to resize
Length
Resize a fx by left side of the end. It's very GUI dev friendly method. yeah.
Index of the fx you want to resize
Length
Default data of a curve.
Generated using TypeDoc
It represents a channel of Automaton. It has even more pretty APIs than raw Curve yay
Parent automaton
Data of the channel