C# 클래스 THREE.PerspectiveCamera

상속: Camera
파일 보기 프로젝트 열기: guidovanhilst/SharpThreejs 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
aspect double
fov double
zoom double

공개 메소드들

메소드 설명
PerspectiveCamera ( double fov, double aspect, double near, double far ) : System

fov — Camera frustum vertical field of view. aspect — Camera frustum aspect ratio. near — Camera frustum near plane. far — Camera frustum far plane.

setLens ( double focalLength, double frameSize ) : void

focalLength — focal length frameSize — frame size Uses focal length (in mm) to estimate and set FOV 35mm (fullframe) camera is used if frame size is not specified. Formula based on http://www.bobatkins.com/photography/technical/field_of_view.html

setViewOffset ( double fullWidth, double fullHeight, double x, double y, double width, double height ) : void

fullWidth — full width of multiview setup fullHeight — full height of multiview setup x — horizontal offset of subcamera y — vertical offset of subcamera width — width of subcamera height — height of subcamera Sets an offset in a larger frustum. This is useful for multi-window or multi-monitor/multi-machine setups.

메소드 상세

PerspectiveCamera() 공개 메소드

fov — Camera frustum vertical field of view. aspect — Camera frustum aspect ratio. near — Camera frustum near plane. far — Camera frustum far plane.
public PerspectiveCamera ( double fov, double aspect, double near, double far ) : System
fov double
aspect double
near double
far double
리턴 System

setLens() 공개 메소드

focalLength — focal length frameSize — frame size Uses focal length (in mm) to estimate and set FOV 35mm (fullframe) camera is used if frame size is not specified. Formula based on http://www.bobatkins.com/photography/technical/field_of_view.html
public setLens ( double focalLength, double frameSize ) : void
focalLength double
frameSize double
리턴 void

setViewOffset() 공개 메소드

fullWidth — full width of multiview setup fullHeight — full height of multiview setup x — horizontal offset of subcamera y — vertical offset of subcamera width — width of subcamera height — height of subcamera Sets an offset in a larger frustum. This is useful for multi-window or multi-monitor/multi-machine setups.
public setViewOffset ( double fullWidth, double fullHeight, double x, double y, double width, double height ) : void
fullWidth double
fullHeight double
x double
y double
width double
height double
리턴 void

프로퍼티 상세

aspect 공개적으로 프로퍼티

public double aspect
리턴 double

fov 공개적으로 프로퍼티

public double fov
리턴 double

zoom 공개적으로 프로퍼티

public double zoom
리턴 double