texture
on drawAlternative to the accessors red, green, blue & alpha
.
Changes inside the array do not automatically set needs_update
.
Require: tint.length == 4
# Tint applied to `texture` on draw
#
# Alternative to the accessors `red, green, blue & alpha`.
# Changes inside the array do not automatically set `needs_update`.
#
# Require: `tint.length == 4`
var tint: Array[Float] = [1.0, 1.0, 1.0, 1.0] is writable(tint_direct=)
lib/gamnit/flat/flat_core.nit:229,2--235,72