Plugin for GTween. Applies a color matrix filter to the target based on the "brightness", "contrast", "hue", and/or "saturation" tween values.

If a color matrix filter does not already exist on the tween target, the plugin will create one. Note that this may conflict with other plugins that use filters. If you experience problems, try applying a color matrix filter to the target in advance to avoid this behaviour.

Supports the following pluginData properties:

  • ColorAdjustEnabled: overrides the enabled property for the plugin on a per tween basis.
  • ColorAdjustData: Used internally.

Static variables

@:value(true)staticenabled:Bool = true

Specifies whether this plugin is enabled for all tweens by default.

Static methods

staticinstall():Void

Installs this plugin for use with all GTween instances.