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

RB.ClipReset

Method  -  Static

public static void ClipReset()

Parameters

No parameters.

Returns

Nothing.

Description

A simple convenience function that sets the clipping region to cover the entire display, which means that nothing will be clipped.

Example

const int LAYER_TERRAIN_MINIMAP = 0;

void Render()
{
    // Use clip region to render a minimap in the top left corner of the screen
    RB.ClipSet(new Vector2i(00128128);
    RB.DrawMapLayer(LAYER_TERRAIN_MINIMAP);

    RB.ClipReset();
}

See Also

RB.ClipSet
RB.ClipGet
RB.ClipDebugEnable
RB.ClipDebugDisable

See Docs

Features - Clip Region