Method: colorOverlay

Gets / sets the string hex or rgba value of the colour to use as an overlay when rending this entity's texture.
colorOverlay (String val)
  • Stringval The colour value as hex e.g. '#ff0000' or as rgba e.g. 'rbga(255, 0, 0, 0.5)'. To remove an overlay colour simply passed an empty string.
Returns * "this" when arguments are passed to allow method chaining or the current value if no arguments are specified.
© Copyright 2013 Irrelon Software Limited. All Rights Reserved. UK Registered Company Number: 07522767
Isogenic (ī´sōjen´ik): Adj originating from a common source; possessing the same genetic composition.
Strange Things Happen at the One Two Point