DrawBillboard method

  1. @override
void DrawBillboard(
  1. Camera3DD camera,
  2. TextureD texture,
  3. Vector3D position,
  4. num scale,
  5. ColorD tint,
)
override

Implementation

@override
void DrawBillboard(
  Camera3DD camera,
  TextureD texture,
  Vector3D position,
  num scale,
  ColorD tint,
) => run(
  () => RaylibDebugLabels.DrawBillboard(camera, texture, position, scale, tint),
  () => rl.Core.DrawBillboard(
    rl.Temp.Camera3D$.Ref1(camera).ref,
    rl.Temp.Texture$.Ref1(texture).ref,
    rl.Temp.Vector3$.Ref1(position).ref,
    scale.toDouble(),
    rl.Temp.Color$.Ref1(tint).ref,
  ),
);