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

Afficher le fichier Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Méthodes publiques

Свойство 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éthodes publiques

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

Method Details

GetOrthographicProjectionMatrix() public méthode

public GetOrthographicProjectionMatrix ( float aspectRatio ) : Matrix4
aspectRatio float
Résultat Matrix4

GetPerspectiveProjectionMatrix() public méthode

public GetPerspectiveProjectionMatrix ( ) : Matrix4
Résultat Matrix4

GetViewMatrix() public méthode

public GetViewMatrix ( ) : Matrix4
Résultat Matrix4

GetViewportMatrix() public méthode

public GetViewportMatrix ( ) : Matrix4
Résultat Matrix4

GetWorldToViewportMatrix() public méthode

public GetWorldToViewportMatrix ( ) : Matrix4
Résultat Matrix4

VectorToScreen() public méthode

public VectorToScreen ( System.Vector3 v ) : Point
v System.Vector3
Résultat Point

Viewport() public méthode

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

Viewport() public méthode

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

Property Details

FarPlaneDistance public_oe property

public float FarPlaneDistance
Résultat float

FieldOfView public_oe property

public float FieldOfView
Résultat float

Height public_oe property

public int Height
Résultat int

LookDirection public_oe property

public Vector3,System LookDirection
Résultat System.Vector3

NearPlaneDistance public_oe property

public float NearPlaneDistance
Résultat float

OrthoWindowHeight public_oe property

public float OrthoWindowHeight
Résultat float

OrthoWindowWidth public_oe property

public float OrthoWindowWidth
Résultat float

Orthographic public_oe property

public bool Orthographic
Résultat bool

Position public_oe property

public Vector3,System Position
Résultat System.Vector3

Width public_oe property

public int Width
Résultat int