Click or drag to resize
SpriteBaseModulateRed Property
Affects the output of red when this sprite is drawn.

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
public virtual int ModulateRed { get; set; }

Property Value

Type: Int32
Remarks
By setting this to 128, only half the red will be output, causing the sprite to appear more cyan (blue/green) than normal. This value is merged with the ModulateRed value in the frames that make up the sprite. So if the frame is set to ModulateRed=128 and the sprite ModulateRed=128, then the final image will only contain 25% of the original red.
See Also