C# 클래스 Nexus.Graphics.Cameras.PerspectiveCamera

Represents a perspective projection camera.
PerspectiveCamera specifies a projection of a 3-D model to a 2-D visual surface. This projection includes perspective foreshortening. In other words, the PerspectiveCamera describes a frustrum whose sides converge toward a point on the horizon. Objects closer to the camera appear larger, and objects farther from the camera appear smaller.
상속: ProjectionCamera
파일 보기 프로젝트 열기: tgjones/nexus 1 사용 예제들

공개 메소드들

메소드 설명
CreateFromBounds ( AxisAlignedBox3D bounds, Viewport3D viewport, float fieldOfView, float yaw = 0.0f, float pitch = 0.0f, float zoom = 1.0f ) : PerspectiveCamera
GetProjectionMatrix ( float aspectRatio ) : Matrix3D
PerspectiveCamera ( ) : Nexus.Objects2D

메소드 상세

CreateFromBounds() 공개 정적인 메소드

public static CreateFromBounds ( AxisAlignedBox3D bounds, Viewport3D viewport, float fieldOfView, float yaw = 0.0f, float pitch = 0.0f, float zoom = 1.0f ) : PerspectiveCamera
bounds Nexus.Objects3D.AxisAlignedBox3D
viewport Viewport3D
fieldOfView float
yaw float
pitch float
zoom float
리턴 PerspectiveCamera

GetProjectionMatrix() 공개 메소드

public GetProjectionMatrix ( float aspectRatio ) : Matrix3D
aspectRatio float
리턴 Matrix3D

PerspectiveCamera() 공개 메소드

public PerspectiveCamera ( ) : Nexus.Objects2D
리턴 Nexus.Objects2D