C# Class idTech4.Renderer.idRenderView

显示文件 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_oe property

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

ForceUpdate public_oe property

Force an update.
public bool ForceUpdate
return bool

FovX public_oe property

public float FovX
return float

FovY public_oe property

public float FovY
return float

GlobalMaterial public_oe property

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

Height public_oe property

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

MaterialParameters public_oe property

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

Time public_oe property

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

ViewAxis public_oe property

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

ViewID public_oe 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_oe property

public Vector3 ViewOrigin
return Vector3

Width public_oe property

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

X public_oe property

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

Y public_oe property

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