View source
class ColorAdjustPlugin
package com.gskinner.motion.plugins
implements IGTweenPlugin
Available on flash
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.