View source
class ColorTransformPlugin
package com.gskinner.motion.plugins
implements IGTweenPlugin
Available on flash
Plugin for GTween. Applies a color transform or tint to the target based on the "redMultiplier", "greenMultiplier", "blueMultiplier", "alphaMultiplier", "redOffset", "greenOffset", "blueOffset", "alphaOffset", and/or "tint" tween values. The tint value is a 32 bit color, where the alpha channel represents the strength of the tint. For example 0x8000FF00 would apply a green tint at 50% (0x80) strength.
Supports the following pluginData
properties:
- ColorTransformEnabled: overrides the enabled property for the plugin on a per tween basis.