AudioAsset
Ease
FastString
FontAsset
NineSlice
PackedSprite
PackedSpriteID
RB
   HardwareSettings
   IRetroBlitGame
RBAsset
Rect2i
ShaderAsset
SoundReference
SpriteGrid
SpriteSheetAsset
TMXMapAsset
   TMXLayer
   TMXLayerLoadState
   TMXObject
   TMXObjectGroup
   TMXProperties
Vector2i

Rect2i.Rect2i

Method

public  Rect2i(int x, int y, int width, int height)
public  Rect2i(int x, int y, Vector2i size)
public  Rect2i(Vector2i pos, int width, int height)
public  Rect2i(Vector2i pos, Vector2i size)
public  Rect2i(float x, float y, float width, float height)
public  Rect2i(Rect rect)

Parameters

x int X coordinate of top left corner
y int Y coordinate of top left corner
width int Width
height int Height
size Vector2i Size
pos Vector2i Position
rect Rect Rect

Returns

Nothing.

Description

Constructor.