SpriteBaseModulateGreen Property |
Affects the output of green when this sprite is drawn.
Namespace: (Default Namespace)Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax public virtual int ModulateGreen { get; set; }
Property Value
Type:
Int32Remarks By setting this to 128, only half the green will be output, causing the
sprite to appear more magenta (red+blue) than normal. This value is merged with
the ModulateGreen value in the frames that make up the sprite. So if the frame is
set to ModulateGreen=128 and the sprite ModulateGreen=128, then the final image will
only contain 25% of the original red.
See Also