コード例 #1
0
ファイル: Anim.cs プロジェクト: lichen123456789/ECS_2D
 public static void Draw_MATRIX_ANIM_FRAME_RADIAL(
     List <BitArray> _frames,
     int _frame,
     int _cells_angle,
     int _cells_radius,
     int _totalFrames,
     float _x,
     float _y,
     float _radius_start,
     float _radius_end,
     Color _col,
     int _arcSides             = HUD.DEFAULT_ARC_SIDES,
     float _angle_start        = 0, float _angle_end = 1,
     float _gutterRatio_ANGLE  = HUD.DEFAULT_GUTTER_RATIO,
     float _gutterRatio_RADIUS = HUD.DEFAULT_GUTTER_RATIO,
     float _rotation           = 0)
 {
     GL_DRAW.Draw_MATRIX_RADIAL(_x, _y, _radius_start, _radius_end, _cells_angle, _cells_radius, _col, _frames[_frame % _totalFrames], _arcSides, _angle_start, _angle_end, _gutterRatio_ANGLE, _gutterRatio_RADIUS, _rotation);
 }