C# Class idTech4.Renderer.idRenderView

Show file Open project: iainmckay/idtech4.net Class Usage Examples

Public Properties

Property Type Description
CramZNear bool
ForceUpdate bool
FovX float
FovY float
GlobalMaterial idMaterial
Height int
MaterialParameters float[]
Time int
ViewAxis Matrix
ViewID int
ViewOrigin Vector3
Width int
X int
Y int

Public Methods

Method Description
Clear ( ) : void
Copy ( ) : idRenderView

Creates a shallow copy of this instance.

idRenderView ( ) : System

Method Details

Clear() public method

public Clear ( ) : void
return void

Copy() public method

Creates a shallow copy of this instance.
public Copy ( ) : idRenderView
return idRenderView

idRenderView() public method

public idRenderView ( ) : System
return System

Property Details

CramZNear public property

For cinematics, we want to set ZNear much lower.
public bool CramZNear
return bool

ForceUpdate public property

Force an update.
public bool ForceUpdate
return bool

FovX public property

public float FovX
return float

FovY public property

public float FovY
return float

GlobalMaterial public property

Override everything when drawing.
public idMaterial,idTech4.Renderer GlobalMaterial
return idMaterial

Height public property

Sized from 0 to SCREEN_WIDTH / SCREEN_HEIGHT (640/480), not actual resolution.
public int Height
return int

MaterialParameters public property

Can be used in any way by the material.
public float[] MaterialParameters
return float[]

Time public property

Time in milliseconds for material effects and other time dependent rendering issues.
public int Time
return int

ViewAxis public property

Transformation matrix, view looks down the positive X axis.
public Matrix ViewAxis
return Matrix

ViewID public property

Model/Subview suppression.
Player views will set this to a non-zero integer for model suppress/allow. Subviews (mirrors, cameras, etc) will always clear it to zero.
public int ViewID
return int

ViewOrigin public property

public Vector3 ViewOrigin
return Vector3

Width public property

Sized from 0 to SCREEN_WIDTH / SCREEN_HEIGHT (640/480), not actual resolution.
public int Width
return int

X public property

Sized from 0 to SCREEN_WIDTH / SCREEN_HEIGHT (640/480), not actual resolution.
public int X
return int

Y public property

Sized from 0 to SCREEN_WIDTH / SCREEN_HEIGHT (640/480), not actual resolution.
public int Y
return int