ResetTransforms

static void ResetTransforms();

Resets all the active placement transformations to default.

The reseted transformations include the position, rotation and stretching. Note that this function doesn't reset the rotation pivot to the center of the screen.

Examples

// Set the position, rotation and stretching to normal (no active placement transformations) //
Screen::ResetTransforms();


Other functions of the class Transforms
SetPosition
Set the position of screen contents
SetRotation
Set the rotational angle of the screen contents
SetRotationPivot
Selects the pivot point of the screen rotation
SetStretch
Sets the stretch factor of the screen
SetTintColor
Tints the whole screen to a color
ResetTransforms
Disables all the active placement transformations
SetColorChannels
Sets the coefficients of the color channels
GetColorChannels
Returns the coefficients of the color channels


Questions about ResetTransforms? Click here.