C# Class HaloMap.Render.Camera2

The camera 2.
Inheritance: IDisposable
Show file Open project: troymac1ure/Entity Class Usage Examples

Public Properties

Property Type Description
LookAt System.Vector3
Position System.Vector3
UpVector System.Vector3
device Device
fixedrotation bool
i float
j float
k float
oldx int
oldy int
radianh float
radianv float
radius float
speed float
x float
y float
z float

Public Methods

Method Description
AimCamera ( System.Vector3 v ) : void

The aim camera.

Camera2 ( Form form ) : System

Initializes a new instance of the Camera2 class.

ComputePosition ( ) : void

The compute position.

ComputeStrafe ( bool right ) : void

The compute strafe.

DegreesToRadian ( float degree ) : float

The degrees to radian.

Dispose ( ) : void

The dispose.

SetFixed ( ) : void

The set fixed.

change ( int x, int y ) : void

The change.

move ( ) : bool

The move.

Method Details

AimCamera() public method

The aim camera.
public AimCamera ( System.Vector3 v ) : void
v System.Vector3 The v.
return void

Camera2() public method

Initializes a new instance of the Camera2 class.
public Camera2 ( Form form ) : System
form System.Windows.Forms.Form The form.
return System

ComputePosition() public method

The compute position.
public ComputePosition ( ) : void
return void

ComputeStrafe() public method

The compute strafe.
public ComputeStrafe ( bool right ) : void
right bool The right.
return void

DegreesToRadian() public method

The degrees to radian.
public DegreesToRadian ( float degree ) : float
degree float The degree.
return float

Dispose() public method

The dispose.
public Dispose ( ) : void
return void

SetFixed() public method

The set fixed.
public SetFixed ( ) : void
return void

change() public method

The change.
public change ( int x, int y ) : void
x int The x.
y int The y.
return void

move() public method

The move.
public move ( ) : bool
return bool

Property Details

LookAt public property

The look at.
public Vector3,System LookAt
return System.Vector3

Position public property

The position.
public Vector3,System Position
return System.Vector3

UpVector public property

The up vector.
public Vector3,System UpVector
return System.Vector3

device public property

The device.
public Device device
return Device

fixedrotation public property

The fixedrotation.
public bool fixedrotation
return bool

i public property

The i.
public float i
return float

j public property

The j.
public float j
return float

k public property

The k.
public float k
return float

oldx public property

The oldx.
public int oldx
return int

oldy public property

The oldy.
public int oldy
return int

radianh public property

The radianh.
public float radianh
return float

radianv public property

The radianv.
public float radianv
return float

radius public property

The radius.
public float radius
return float

speed public property

The speed.
public float speed
return float

x public property

The x.
public float x
return float

y public property

The y.
public float y
return float

z public property

The z.
public float z
return float