phaser - v4.0.0-rc.4
    Preparing search index...
    • Takes an array of Game Objects, or any objects that have the public method setTint() and then updates it to the given value(s). You can specify tint color per corner or provide only one color value for topLeft parameter, in which case whole item will be tinted with that color.

      Type Parameters

      Parameters

      • items: G

        An array of Game Objects. The contents of this array are updated by this Action.

      • topLeft: number

        The tint being applied to top-left corner of item. If other parameters are given no value, this tint will be applied to whole item.

      • OptionaltopRight: number

        The tint to be applied to top-right corner of item.

      • OptionalbottomLeft: number

        The tint to be applied to the bottom-left corner of item.

      • OptionalbottomRight: number

        The tint to be applied to the bottom-right corner of item.

      Returns G