C# 클래스 StarWarrior.Primitives.Triangle

파일 보기 프로젝트 열기: thelinuxlich/starwarrior_CSharp

공개 메소드들

메소드 설명
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