C# 클래스 CSharpGL.CameraHelper

파일 보기 프로젝트 열기: bitzhuwei/CSharpGL

공개 메소드들

메소드 설명
GetBack ( this camera ) : vec3

Get back vector in world space.

GetDown ( this camera ) : vec3

Gets standard down.

GetFront ( this camera ) : vec3

Get front vector in world space.

GetLeft ( this camera ) : vec3

Get left vector in world space.

GetRight ( this camera ) : vec3

Get right vector in world space.

GetUp ( this camera ) : vec3

Gets standard up.

MouseWheel ( this camera, int delta ) : void

对摄像机执行一次缩放操作

ZoomCamera ( this camera, IBoundingBox boundingBox ) : void

Zoom camera to fit in specified boundingBox.

메소드 상세

GetBack() 공개 정적인 메소드

Get back vector in world space.
public static GetBack ( this camera ) : vec3
camera this
리턴 vec3

GetDown() 공개 정적인 메소드

Gets standard down.
public static GetDown ( this camera ) : vec3
camera this
리턴 vec3

GetFront() 공개 정적인 메소드

Get front vector in world space.
public static GetFront ( this camera ) : vec3
camera this
리턴 vec3

GetLeft() 공개 정적인 메소드

Get left vector in world space.
public static GetLeft ( this camera ) : vec3
camera this
리턴 vec3

GetRight() 공개 정적인 메소드

Get right vector in world space.
public static GetRight ( this camera ) : vec3
camera this
리턴 vec3

GetUp() 공개 정적인 메소드

Gets standard up.
public static GetUp ( this camera ) : vec3
camera this
리턴 vec3

MouseWheel() 공개 정적인 메소드

对摄像机执行一次缩放操作
public static MouseWheel ( this camera, int delta ) : void
camera this
delta int
리턴 void

ZoomCamera() 공개 정적인 메소드

Zoom camera to fit in specified boundingBox.
public static ZoomCamera ( this camera, IBoundingBox boundingBox ) : void
camera this
boundingBox IBoundingBox
리턴 void