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

RB.ROT_90_CW

Variable  -  Const

Type

const int

Description

Indicates that a sprite should be rotated 90 degrees clockwise when rendered with RB.DrawSprite or RB.DrawCopy.

This flag can be combined with RB.FLIP_H and/or RB.FLIP_V.

Example

void Render(Vector2i pos)
{
    RB.DrawSprite("hero_idle", pos, RB.ROT_90_CW);
}

See Also

RB.DrawSprite
RB.DrawCopy
RB.FLIP_H
RB.FLIP_V
RB.ROT_90_CCW
RB.ROT_180_CW
RB.ROT_180_CCW
RB.ROT_270_CW
RB.ROT_270_CCW

See Docs

Features - Drawing