Class: CameraTintTween

(abstract) rune.camera.CameraTintTween()

The CameraTintTween class is an abstract base class for camera effects that change color tone (tint) over time. Effects such as (camera) Fade and (camera) Flash are based on this class.

Constructor

(abstract) new CameraTintTween()

Creates a new instance of CameraTintTween.
Source:

Extends

Members

(readonly) color :rune.color.Color24

24-bit tint color.
Type:
Inherited From:
Source:

opacity :number

Tint color opacity. This value can vary between 0.0 and 1.0.
Type:
  • number
Inherited From:
Source:

Methods

toString() → {string}

Returns an RGBA representation of the object.
Inherited From:
Source:
Returns:
Type
string