C# Class HaloMap.Render.Camera2

The camera 2.
Inheritance: IDisposable
ファイルを表示 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_oe property

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

Position public_oe property

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

UpVector public_oe property

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

device public_oe property

The device.
public Device device
return Device

fixedrotation public_oe property

The fixedrotation.
public bool fixedrotation
return bool

i public_oe property

The i.
public float i
return float

j public_oe property

The j.
public float j
return float

k public_oe property

The k.
public float k
return float

oldx public_oe property

The oldx.
public int oldx
return int

oldy public_oe property

The oldy.
public int oldy
return int

radianh public_oe property

The radianh.
public float radianh
return float

radianv public_oe property

The radianv.
public float radianv
return float

radius public_oe property

The radius.
public float radius
return float

speed public_oe property

The speed.
public float speed
return float

x public_oe property

The x.
public float x
return float

y public_oe property

The y.
public float y
return float

z public_oe property

The z.
public float z
return float