C# Class AcTools.Render.Base.Cameras.FpsCamera

Inheritance: BaseCamera
显示文件 Open project: gro-ove/actools Class Usage Examples

Public Methods

Method Description
Clone ( ) : BaseCamera
FpsCamera ( float fov ) : AcTools.Render.Base.Utils
LookAt ( Vector3 pos, Vector3 target, Vector3 up ) : void
Pitch ( float angle ) : void
Restore ( ) : void
Save ( ) : void
Strafe ( float d ) : void
UpdateViewMatrix ( ) : void
Walk ( float d ) : void
Yaw ( float angle ) : void
Zoom ( float dr ) : void

Method Details

Clone() public method

public Clone ( ) : BaseCamera
return BaseCamera

FpsCamera() public method

public FpsCamera ( float fov ) : AcTools.Render.Base.Utils
fov float
return AcTools.Render.Base.Utils

LookAt() public method

public LookAt ( Vector3 pos, Vector3 target, Vector3 up ) : void
pos Vector3
target Vector3
up Vector3
return void

Pitch() public method

public Pitch ( float angle ) : void
angle float
return void

Restore() public method

public Restore ( ) : void
return void

Save() public method

public Save ( ) : void
return void

Strafe() public method

public Strafe ( float d ) : void
d float
return void

UpdateViewMatrix() public method

public UpdateViewMatrix ( ) : void
return void

Walk() public method

public Walk ( float d ) : void
d float
return void

Yaw() public method

public Yaw ( float angle ) : void
angle float
return void

Zoom() public method

public Zoom ( float dr ) : void
dr float
return void