v0.13.7

ColorCurveObject

object type11 methodsavailable in: camelot

It has every method of CurveObjectBase, plus 11 of its own.

Inherits from

  1. ColorCurveObject · 11
  2. CurveObjectBase · 3

The number is each type's own documented methods. A ColorCurveObject has all of them.

Methods

In the emulator: 11 implemented.

methodwhat it doesstatus
AddPointAdds a single point to the curve. · warcraft.wiki.gg ↗
(x: number, y: ColorMixin)
implemented
ClearPointsRemoves 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
CopyReturns a new copy of this curve. · warcraft.wiki.gg ↗
(): LuaColorCurveObject
implemented
EvaluateReturns a calculated color value from the configured curve points. · warcraft.wiki.gg ↗
(x: number): ColorMixin
implemented
EvaluateUnpackedReturns an unpacked calculated color value from the configured curve points. · warcraft.wiki.gg ↗
(x: number): (number, number, number, number)
implemented
GetPointReturns the vector for an individual point index on the curve. · warcraft.wiki.gg ↗
(index: number): LuaColorCurvePoint?
implemented
GetPointCountReturns the total number of points on the curve. · warcraft.wiki.gg ↗
(): size
implemented
GetPointsReturns the vectors for all points on the curve. · warcraft.wiki.gg ↗
(): LuaColorCurvePoint[]
implemented
RemovePointRemoves a single point from the curve. Raises an error if the supplied point index is out of range. · warcraft.wiki.gg ↗
(index: number)
implemented
SetPointsReplaces all points on the curve. · warcraft.wiki.gg ↗
(point: LuaColorCurvePoint[])
implemented
SetToDefaultsResets 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 ↗.