C# 클래스 LOLViewer.Graphics.GLArcBall

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

공개 메소드들

메소드 설명
GLArcBall ( ) : System
GetRotationMatrix ( ) : Matrix4
OnBeginDrag ( float x, float y ) : void

Call when the user begins to change orientation.

OnMove ( float x, float y ) : void

Call when mouse is moved.

OnStopDrag ( ) : void
Reset ( ) : void
SetNowQuat ( Quaternion q ) : void
SetWindow ( float width, float height ) : void

비공개 메소드들

메소드 설명
QuatFromBallPoints ( Vector3 from, Vector3 to ) : Quaternion
ScreenToVector ( float screentPointX, float screenPointY ) : Vector3

메소드 상세

GLArcBall() 공개 메소드

public GLArcBall ( ) : System
리턴 System

GetRotationMatrix() 공개 메소드

public GetRotationMatrix ( ) : Matrix4
리턴 Matrix4

OnBeginDrag() 공개 메소드

Call when the user begins to change orientation.
public OnBeginDrag ( float x, float y ) : void
x float Actual position. Not delta.
y float Acutal position. Not delta.
리턴 void

OnMove() 공개 메소드

Call when mouse is moved.
public OnMove ( float x, float y ) : void
x float Actual position. Not delta.
y float Actual position. Not delta.
리턴 void

OnStopDrag() 공개 메소드

public OnStopDrag ( ) : void
리턴 void

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

SetNowQuat() 공개 메소드

public SetNowQuat ( Quaternion q ) : void
q Quaternion
리턴 void

SetWindow() 공개 메소드

public SetWindow ( float width, float height ) : void
width float
height float
리턴 void