readonly bool Region.TintEnabled
Gets whether the region currently has an RGB tint enabled for it.
Returns true if it does, and false if it does not. If it does not, then
the LightLevel property reflects the region lighting.
If this property is false, then the TintRed, TintGreen, TintBlue and TintSaturation
properties are invalid.
Example:
if (region[4].TintEnabled) {
Display("Region 4 is tinted!!");
}
will display a message if region 4 is tinted
See Also: Region.Tint
|