C# Класс StarWarrior.Primitives.Triangle

Показать файл Открыть проект

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

Метод Описание
AddTriangle ( float x1, float y1, float x2, float y2, float x3, float y3 ) : void

The add triangle.

Draw ( Vector2 transform ) : void

Draws the specified transform.

Triangle ( PrimitiveBatch primitiveBatch ) : System.Collections.Generic

Initializes a new instance of the Triangle class.

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

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

The add triangle.
public AddTriangle ( float x1, float y1, float x2, float y2, float x3, float y3 ) : void
x1 float The x 1.
y1 float The y 1.
x2 float The x 2.
y2 float The y 2.
x3 float The x 3.
y3 float The y 3.
Результат void

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

Draws the specified transform.
public Draw ( Vector2 transform ) : void
transform Vector2 The transform.
Результат void

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

Initializes a new instance of the Triangle class.
public Triangle ( PrimitiveBatch primitiveBatch ) : System.Collections.Generic
primitiveBatch PrimitiveBatch The primitive batch.
Результат System.Collections.Generic