DrawBillboardRec method

void DrawBillboardRec(
  1. Camera3D camera,
  2. Texture texture,
  3. Rectangle source,
  4. Vector3 position,
  5. Vector2 size,
  6. Color tint,
)

Draw a billboard texture defined by source

Implementation

void DrawBillboardRec(
  Camera3D camera,
  Texture texture,
  Rectangle source,
  Vector3 position,
  Vector2 size,
  Color tint,
) => run(
  () => _debugLabels.DrawBillboardRec(camera, texture, source, position, size, tint),
  () => _flat.DrawBillboardRec(
    camera,
    texture,
    source,
    position,
    size,
    tint,
  ),
);