DrawTextureEx method

void DrawTextureEx(
  1. Texture texture,
  2. Vector2 position,
  3. num rotation,
  4. num scale,
  5. Color tint,
)

Draw a Texture2D with extended parameters

Implementation

void DrawTextureEx(
  Texture texture,
  Vector2 position,
  num rotation,
  num scale,
  Color tint,
) => run(
  () => _debugLabels.DrawTextureEx(texture, position, rotation, scale, tint),
  () => _flat.DrawTextureEx(
    texture,
    position,
    rotation.toDouble(),
    scale.toDouble(),
    tint,
  ),
);