DrawBillboard method

  1. @override
void DrawBillboard(
  1. Camera3D camera,
  2. Texture texture,
  3. Vector3 position,
  4. double scale,
  5. Color tint,
)
override

Draw a billboard texture

Implementation

@override
void DrawBillboard(
  Camera3D camera,
  Texture texture,
  Vector3 position,
  double scale,
  Color tint,
) => _ffi.DrawBillboard(
  Camera3D$.Ref1(camera).asNativePointer<Camera3DC>().ref,
  Texture$.Ref1(texture).asNativePointer<TextureC>().ref,
  Vector3$.Ref1(position).asNativePointer<Vector3C>().ref,
  scale,
  Color$.Ref1(tint).asNativePointer<ColorC>().ref,
);