Texture
Sandbox.Game
void Texture( Texture texture, Rect rect, Color color, Vector2 topLeftUV, Vector2 bottomRightUV, float duration = 0, )

Summary

Render a 2D texture

Parameters

Texture texture,

Texture to render

Rect rect,

Rect of the texture on screen

Color color,

Tint of the texture

Vector2 topLeftUV,

Top Left UV coordinate

Vector2 bottomRightUV,

Bottom Right UV coordinate

float duration = 0,

How long to keep the texture visible for. A duration of 0 is 1 frame