Table of Contents

Struct Viewport

Namespace
Lime
Assembly
Lime.dll
public struct Viewport
Inherited Members

Constructors

Viewport(WindowRect)

public Viewport(WindowRect bounds)

Parameters

bounds WindowRect

Viewport(int, int, int, int)

public Viewport(int x, int y, int width, int height)

Parameters

x int
y int
width int
height int

Viewport(int, int, int, int, float, float)

public Viewport(int x, int y, int width, int height, float minDepth, float maxDepth)

Parameters

x int
y int
width int
height int
minDepth float
maxDepth float

Fields

Default

public static readonly Viewport Default

Field Value

Viewport

Height

public int Height

Field Value

int

MaxDepth

public float MaxDepth

Field Value

float

MinDepth

public float MinDepth

Field Value

float

Width

public int Width

Field Value

int

X

public int X

Field Value

int

Y

public int Y

Field Value

int

Properties

Bounds

public WindowRect Bounds { get; set; }

Property Value

WindowRect