C# Класс Nez.PolygonCollider

Polygons should be defined in clockwise fashion.
Наследование: Collider
Показать файл Открыть проект

Открытые методы

Метод Описание
PolygonCollider ( Vector2 points ) : System

If the points are not centered they will be centered with the difference being applied to the localOffset.

PolygonCollider ( int vertCount, float radius ) : System
debugRender ( Graphics graphics ) : void

Описание методов

PolygonCollider() публичный Метод

If the points are not centered they will be centered with the difference being applied to the localOffset.
public PolygonCollider ( Vector2 points ) : System
points Vector2 Points.
Результат System

PolygonCollider() публичный Метод

public PolygonCollider ( int vertCount, float radius ) : System
vertCount int
radius float
Результат System

debugRender() публичный Метод

public debugRender ( Graphics graphics ) : void
graphics Graphics
Результат void