C# Класс Universe.Modules.WorldMap.Warp3DMap.Viewport

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
FarPlaneDistance float
FieldOfView float
Height int
LookDirection System.Vector3
NearPlaneDistance float
OrthoWindowHeight float
OrthoWindowWidth float
Orthographic bool
Position System.Vector3
Width int

Открытые методы

Метод Описание
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

Описание методов

GetOrthographicProjectionMatrix() публичный Метод

public GetOrthographicProjectionMatrix ( float aspectRatio ) : Matrix4
aspectRatio float
Результат Matrix4

GetPerspectiveProjectionMatrix() публичный Метод

public GetPerspectiveProjectionMatrix ( ) : Matrix4
Результат Matrix4

GetViewMatrix() публичный Метод

public GetViewMatrix ( ) : Matrix4
Результат Matrix4

GetViewportMatrix() публичный Метод

public GetViewportMatrix ( ) : Matrix4
Результат Matrix4

GetWorldToViewportMatrix() публичный Метод

public GetWorldToViewportMatrix ( ) : Matrix4
Результат Matrix4

VectorToScreen() публичный Метод

public VectorToScreen ( System.Vector3 v ) : Point
v System.Vector3
Результат Point

Viewport() публичный Метод

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
Результат System

Viewport() публичный Метод

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
Результат System

Описание свойств

FarPlaneDistance публичное свойство

public float FarPlaneDistance
Результат float

FieldOfView публичное свойство

public float FieldOfView
Результат float

Height публичное свойство

public int Height
Результат int

LookDirection публичное свойство

public Vector3,System LookDirection
Результат System.Vector3

NearPlaneDistance публичное свойство

public float NearPlaneDistance
Результат float

OrthoWindowHeight публичное свойство

public float OrthoWindowHeight
Результат float

OrthoWindowWidth публичное свойство

public float OrthoWindowWidth
Результат float

Orthographic публичное свойство

public bool Orthographic
Результат bool

Position публичное свойство

public Vector3,System Position
Результат System.Vector3

Width публичное свойство

public int Width
Результат int