The viewport class. Used when displaying sprites on one portion of the screen, with no overflow into other regions.
Creates a viewport object.
Same size as the screen if no argument is specified. (RGSS3)
Frees the viewport. If the viewport has already been freed, does nothing.
This operation will not result in a separate associated object being automatically freed.
Returns TRUE if the viewport has been freed.
Begins flashing the viewport. duration specifies the number of frames the flash will last.
If color is set to nil, the viewport will disappear while flashing.
Refreshes the viewport flash. As a rule, this method is called once per frame.
It is not necessary to call this method if no flash effect is needed.
The box (Rect) defining the viewport.
The viewport's visibility. If TRUE, the viewport is visible. The default is TRUE.
The viewport's z-coordinate. The larger the value, the closer to the player the plane will be displayed.
If multiple objects share the same z-coordinate, the more recently created object will be displayed closest to the player.
The x-coordinate of the viewport's starting point. Change this value to shake the screen, etc.
The y-coordinate of the viewport's starting point. Change this value to shake the screen, etc.
The color (Color) to be blended with the viewport. Alpha values are used in the blending ratio.
Handled separately from the color blended into a flash effect.
The viewport's color tone (Tone).