C# 클래스 UnityEngine.Vector2

파일 보기 프로젝트 열기: jbruening/UnEngine 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
x float
y float

공개 메소드들

메소드 설명
Dot ( Vector2 a, Vector2 b ) : float
Lerp ( Vector2 from, Vector2 to, float t ) : Vector2
MoveTowards ( Vector2 current, Vector2 target, float maxDistanceDelta ) : Vector2
Vector2 ( float x, float y ) : System
operator ( ) : Vector2

비공개 메소드들

메소드 설명
Vector2 ( ) : System

메소드 상세

Dot() 공개 정적인 메소드

public static Dot ( Vector2 a, Vector2 b ) : float
a Vector2
b Vector2
리턴 float

Lerp() 공개 정적인 메소드

public static Lerp ( Vector2 from, Vector2 to, float t ) : Vector2
from Vector2
to Vector2
t float
리턴 Vector2

MoveTowards() 공개 정적인 메소드

public static MoveTowards ( Vector2 current, Vector2 target, float maxDistanceDelta ) : Vector2
current Vector2
target Vector2
maxDistanceDelta float
리턴 Vector2

Vector2() 공개 메소드

public Vector2 ( float x, float y ) : System
x float
y float
리턴 System

operator() 공개 정적인 메소드

public static operator ( ) : Vector2
리턴 Vector2

프로퍼티 상세

x 공개적으로 프로퍼티

public float x
리턴 float

y 공개적으로 프로퍼티

public float y
리턴 float