ColorCurveObject
object type11 methodsavailable in: camelot
It has every method of CurveObjectBase, plus 11 of its own.
Inherits from
- ColorCurveObject · 11
- CurveObjectBase · 3
The number is each type's own documented methods. A ColorCurveObject has all of them.
Methods
In the emulator: 11 implemented.
| method | what it does | status |
|---|---|---|
AddPoint | Adds a single point to the curve. · warcraft.wiki.gg ↗(x: number, y: ColorMixin) | implemented |
ClearPoints | Removes all points from the curve. Evaluating an empty curve always yields a zero value. Note that this does not reset the secret state of the curve. Call ColorCurveObject:SetToDefaults() for that. · warcraft.wiki.gg ↗() | implemented |
Copy | Returns a new copy of this curve. · warcraft.wiki.gg ↗(): LuaColorCurveObject | implemented |
Evaluate | Returns a calculated color value from the configured curve points. · warcraft.wiki.gg ↗(x: number): ColorMixin | implemented |
EvaluateUnpacked | Returns an unpacked calculated color value from the configured curve points. · warcraft.wiki.gg ↗(x: number): (number, number, number, number) | implemented |
GetPoint | Returns the vector for an individual point index on the curve. · warcraft.wiki.gg ↗(index: number): LuaColorCurvePoint? | implemented |
GetPointCount | Returns the total number of points on the curve. · warcraft.wiki.gg ↗(): size | implemented |
GetPoints | Returns the vectors for all points on the curve. · warcraft.wiki.gg ↗(): LuaColorCurvePoint[] | implemented |
RemovePoint | Removes a single point from the curve. Raises an error if the supplied point index is out of range. · warcraft.wiki.gg ↗(index: number) | implemented |
SetPoints | Replaces all points on the curve. · warcraft.wiki.gg ↗(point: LuaColorCurvePoint[]) | implemented |
SetToDefaults | Resets all state on the curve, and clears the secret values flag. · warcraft.wiki.gg ↗() | implemented |
sources
Methods and inheritance: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗.