C# Class Universe.Modules.WorldMap.Warp3DMap.Viewport

Datei anzeigen Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Public Properties

Property Type Description
FarPlaneDistance float
FieldOfView float
Height int
LookDirection System.Vector3
NearPlaneDistance float
OrthoWindowHeight float
OrthoWindowWidth float
Orthographic bool
Position System.Vector3
Width int

Public Methods

Method Description
GetOrthographicProjectionMatrix ( float aspectRatio ) : Matrix4
GetPerspectiveProjectionMatrix ( ) : Matrix4
GetViewMatrix ( ) : Matrix4
GetViewportMatrix ( ) : Matrix4
GetWorldToViewportMatrix ( ) : Matrix4
VectorToScreen ( System.Vector3 v ) : Point
Viewport ( System.Vector3 position, System.Vector3 lookDirection, float fieldOfView, float farPlaneDist, float nearPlaneDist, int width, int height ) : System
Viewport ( System.Vector3 position, System.Vector3 lookDirection, float farPlaneDist, float nearPlaneDist, int width, int height, float orthoWindowWidth, float orthoWindowHeight ) : System

Method Details

GetOrthographicProjectionMatrix() public method

public GetOrthographicProjectionMatrix ( float aspectRatio ) : Matrix4
aspectRatio float
return Matrix4

GetPerspectiveProjectionMatrix() public method

public GetPerspectiveProjectionMatrix ( ) : Matrix4
return Matrix4

GetViewMatrix() public method

public GetViewMatrix ( ) : Matrix4
return Matrix4

GetViewportMatrix() public method

public GetViewportMatrix ( ) : Matrix4
return Matrix4

GetWorldToViewportMatrix() public method

public GetWorldToViewportMatrix ( ) : Matrix4
return Matrix4

VectorToScreen() public method

public VectorToScreen ( System.Vector3 v ) : Point
v System.Vector3
return Point

Viewport() public method

public Viewport ( System.Vector3 position, System.Vector3 lookDirection, float fieldOfView, float farPlaneDist, float nearPlaneDist, int width, int height ) : System
position System.Vector3
lookDirection System.Vector3
fieldOfView float
farPlaneDist float
nearPlaneDist float
width int
height int
return System

Viewport() public method

public Viewport ( System.Vector3 position, System.Vector3 lookDirection, float farPlaneDist, float nearPlaneDist, int width, int height, float orthoWindowWidth, float orthoWindowHeight ) : System
position System.Vector3
lookDirection System.Vector3
farPlaneDist float
nearPlaneDist float
width int
height int
orthoWindowWidth float
orthoWindowHeight float
return System

Property Details

FarPlaneDistance public_oe property

public float FarPlaneDistance
return float

FieldOfView public_oe property

public float FieldOfView
return float

Height public_oe property

public int Height
return int

LookDirection public_oe property

public Vector3,System LookDirection
return System.Vector3

NearPlaneDistance public_oe property

public float NearPlaneDistance
return float

OrthoWindowHeight public_oe property

public float OrthoWindowHeight
return float

OrthoWindowWidth public_oe property

public float OrthoWindowWidth
return float

Orthographic public_oe property

public bool Orthographic
return bool

Position public_oe property

public Vector3,System Position
return System.Vector3

Width public_oe property

public int Width
return int