C# 클래스 Nez.Ray2D

while technically not a ray (rays are just start and direction) it does double duty as both a line and a ray.
파일 보기 프로젝트 열기: prime31/Nez 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
direction Vector2
end Vector2
start Vector2

공개 메소드들

메소드 설명
Ray2D ( Vector2 position, Vector2 end ) : System

메소드 상세

Ray2D() 공개 메소드

public Ray2D ( Vector2 position, Vector2 end ) : System
position Vector2
end Vector2
리턴 System

프로퍼티 상세

direction 공개적으로 프로퍼티

public Vector2 direction
리턴 Vector2

end 공개적으로 프로퍼티

public Vector2 end
리턴 Vector2

start 공개적으로 프로퍼티

public Vector2 start
리턴 Vector2