RB.DrawEllipseInvertedFill
Method - Static
public static void DrawEllipseInvertedFill(Vector2i center, Vector2i radius, Color32 color)
|
Parameters
Returns
Nothing.
Description
Draw an inversely filled ellipse with the given center, a horizontal and vertical radius given by radius, and the given color.
An inversely filled ellipse occupies the space not filled by a normal ellipse. This can be useful for a variety of effects such as simulating a torch light around a player by using a combination of RB.DrawEllipseInvertedFill and RB.DrawRectFill to cover up an area further away from the player.
Example
See Also
RB.DrawEllipseInvertedFill
RB.DrawEllipse
See Docs
Features - Primitives
|