Static Public Member Functions | |
static NativePolygon2D | Regular (Allocator allocator, Vector2 center, float size, int points) |
Creates a regular polygon with the given size and number of points. | |
static NativePolygon2D | Star (Allocator allocator, int spikes, Vector2 center, float innerRadius, float outerRadius) |
Creates a star polygon with a given number of spikes and an inner and outer radius. | |
|
static |
Creates a regular polygon with the given size and number of points.
allocator | |
center | |
size | |
points |
|
static |
Creates a star polygon with a given number of spikes and an inner and outer radius.
allocator | |
spikes | |
center | |
innerRadius | |
outerRadius |