Свойство | Type | Description | |
---|---|---|---|
FarPlaneDistance | float | ||
FieldOfView | float | ||
Height | int | ||
LookDirection | System.Vector3 | ||
NearPlaneDistance | float | ||
OrthoWindowHeight | float | ||
OrthoWindowWidth | float | ||
Orthographic | bool | ||
Position | System.Vector3 | ||
Width | int |
Méthode | 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 | |
Résultat | Matrix4 |
public GetPerspectiveProjectionMatrix ( ) : Matrix4 | ||
Résultat | Matrix4 |
public GetWorldToViewportMatrix ( ) : Matrix4 | ||
Résultat | Matrix4 |
public VectorToScreen ( System.Vector3 v ) : Point | ||
v | System.Vector3 | |
Résultat | 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 | |
Résultat | 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 | |
Résultat | System |