C# 클래스 CSharpGL.ArcBallManipulater

Rotate model using arc-ball method.
상속: Manipulater, IMouseHandler
파일 보기 프로젝트 열기: bitzhuwei/CSharpGL

공개 메소드들

메소드 설명
ArcBallManipulater ( MouseButtons bindingMouseButtons = MouseButtons.Left ) : System

Rotate model using arc-ball method.

Bind ( ICamera camera, ICanvas canvas ) : void

GetRotationMatrix ( ) : CSharpGL.mat4

Unbind ( ) : void

비공개 메소드들

메소드 설명
GetArcBallPosition ( int x, int y ) : vec3
IMouseHandler ( object sender, MouseEventArgs e ) : void
SetBounds ( int width, int height ) : void
SetCamera ( vec3 position, vec3 target, vec3 up ) : void

메소드 상세

ArcBallManipulater() 공개 메소드

Rotate model using arc-ball method.
public ArcBallManipulater ( MouseButtons bindingMouseButtons = MouseButtons.Left ) : System
bindingMouseButtons MouseButtons
리턴 System

Bind() 공개 메소드

public Bind ( ICamera camera, ICanvas canvas ) : void
camera ICamera
canvas ICanvas
리턴 void

GetRotationMatrix() 공개 메소드

public GetRotationMatrix ( ) : CSharpGL.mat4
리턴 CSharpGL.mat4

Unbind() 공개 메소드

public Unbind ( ) : void
리턴 void