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
Viewport(int, int, int, int, float, float)
public Viewport(int x, int y, int width, int height, float minDepth, float maxDepth)
Parameters
Fields
Default
public static readonly Viewport Default
Field Value
Height
public int Height
Field Value
MaxDepth
public float MaxDepth
Field Value
MinDepth
public float MinDepth
Field Value
Width
public int Width
Field Value
X
public int X
Field Value
Y
public int Y
Field Value
Properties
Bounds
public WindowRect Bounds { get; set; }