public
classColorInterpolator
extends Interpolator
Overview
Inheritance
Members
Usage
Source
Books
SinceNot specified.
VersionNot specified.
Author(s)Not specified.
Color interpolation behavior. This class defines a behavior that
modifies the ambient, emissive, diffuse, or specular color of its
target material object by linearly interpolating between a pair of
specified colors, using the value generated by the specified Alpha
object.
The behavior modifies the color specified by the
Material's colorTarget attribute, one of: AMBIENT, EMISSIVE,
DIFFUSE, SPECULAR, or AMBIENT_AND_DIFFUSE.
The ALLOW_COMPONENT_READ bit must be set in the Material object in
order for the Material's colorTarget to be read.
If the Material object's ALLOW_COMPONENT_READ bit is not set, the
diffuse component will be modified.