C# 클래스 Project290.Mathematics.tVector2

This is a transitioning Vector2. This is used like a tfloat.
파일 보기 프로젝트 열기: scastle/Solitude 1 사용 예제들

공개 메소드들

메소드 설명
GoTo ( float xTarget, float yTarget ) : void

Goes to the specified x,y target.

GoTo ( float xTarget, float yTarget, float duration ) : void

Goes to the specified x,y target.

GoTo ( float xTarget, float yTarget, float duration, bool useRealTime ) : void

Goes to the specified x,y target.

Set ( float xValue, float yValue ) : void

Sets the specified Vector2 value.

Update ( ) : void

Updates this instance.

tVector2 ( float x, float y ) : System

Initializes a new instance of the tVector2 class.

메소드 상세

GoTo() 공개 메소드

Goes to the specified x,y target.
public GoTo ( float xTarget, float yTarget ) : void
xTarget float The x target.
yTarget float The y target.
리턴 void

GoTo() 공개 메소드

Goes to the specified x,y target.
public GoTo ( float xTarget, float yTarget, float duration ) : void
xTarget float The x target.
yTarget float The y target.
duration float The duration in seconds.
리턴 void

GoTo() 공개 메소드

Goes to the specified x,y target.
public GoTo ( float xTarget, float yTarget, float duration, bool useRealTime ) : void
xTarget float The x target.
yTarget float The y target.
duration float The duration in seconds.
useRealTime bool if set to true [use real time].
리턴 void

Set() 공개 메소드

Sets the specified Vector2 value.
public Set ( float xValue, float yValue ) : void
xValue float The x value.
yValue float The y value.
리턴 void

Update() 공개 메소드

Updates this instance.
public Update ( ) : void
리턴 void

tVector2() 공개 메소드

Initializes a new instance of the tVector2 class.
public tVector2 ( float x, float y ) : System
x float The x value.
y float The y value.
리턴 System