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 |
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 |
public GetOrthographicProjectionMatrix ( float aspectRatio ) : Matrix4 | ||
aspectRatio | float | |
return | Matrix4 |
public GetPerspectiveProjectionMatrix ( ) : Matrix4 | ||
return | Matrix4 |
public GetWorldToViewportMatrix ( ) : Matrix4 | ||
return | Matrix4 |
public VectorToScreen ( System.Vector3 v ) : Point | ||
v | System.Vector3 | |
return | Point |
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 |
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 |