WoopWoop-Docs
Loading...
Searching...
No Matches
Properties | List of all members
WoopWoop.PolygonRenderer.BasicShapes Class Reference

Contains static properties for basic shapes' vertices. More...

Properties

static Vector2[] SquareVertices [get]
 Vertices for a square.
 
static Vector2[] TriangleVertices [get]
 Vertices for a triangle.
 

Detailed Description

Contains static properties for basic shapes' vertices.

Property Documentation

◆ SquareVertices

Vector2 [] WoopWoop.PolygonRenderer.BasicShapes.SquareVertices
staticget
Initial value:
= new Vector2[]
{
new(-0.5f, -0.5f),
new(0.5f, -0.5f),
new(0.5f, 0.5f),
new(-0.5f, 0.5f)
}

Vertices for a square.

◆ TriangleVertices

Vector2 [] WoopWoop.PolygonRenderer.BasicShapes.TriangleVertices
staticget
Initial value:
= new Vector2[]
{
new(0, -50),
new(43.3f, 25),
new(-43.3f, 25)
}

Vertices for a triangle.


The documentation for this class was generated from the following file: