C# 클래스 StarWarrior.Primitives.TrianglesStrip

The triangles strip.
파일 보기 프로젝트 열기: thelinuxlich/starwarrior_CSharp

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
AddPoint ( float x1, float y1 ) : void

The add point.

Draw ( Vector2 transform ) : void

The draw.

TrianglesStrip ( GraphicsDevice device, PrimitiveBatch primitiveBatch ) : System

Initializes a new instance of the TrianglesStrip class.

메소드 상세

AddPoint() 공개 메소드

The add point.
public AddPoint ( float x1, float y1 ) : void
x1 float The x 1.
y1 float The y 1.
리턴 void

Draw() 공개 메소드

The draw.
Need at least 3 points in order to draw the triangles.
public Draw ( Vector2 transform ) : void
transform Vector2 The transform.
리턴 void

TrianglesStrip() 공개 메소드

Initializes a new instance of the TrianglesStrip class.
public TrianglesStrip ( GraphicsDevice device, PrimitiveBatch primitiveBatch ) : System
device GraphicsDevice The device.
primitiveBatch PrimitiveBatch The primitive batch.
리턴 System