C# Class CameraBuddy.Camera.CameraState

Inheritance: IDisposable
Mostra file Open project: coman3/EloBuddy.Addons Class Usage Examples

Public Methods

Method Description
CameraState ( ) : System

Creates an instance of CameraState with the current Camera's settings.

CameraState ( System.Vector2 yaw, float pitch, System.Vector2 screenPos, float zoomDistance ) : System

Creates an instance of CameraState with the specified values; The values are not set until Set() is called.

CameraState ( System.Vector3 yawPitch, System.Vector2 screenPos, float zoomDistance ) : System

Creates an instance of CameraState with the with the specified values.

Clear ( ) : void
Dispose ( ) : void
Set ( float speed = -1 ) : void

Method Details

CameraState() public method

Creates an instance of CameraState with the current Camera's settings.
public CameraState ( ) : System
return System

CameraState() public method

Creates an instance of CameraState with the specified values; The values are not set until Set() is called.
public CameraState ( System.Vector2 yaw, float pitch, System.Vector2 screenPos, float zoomDistance ) : System
yaw System.Vector2
pitch float
screenPos System.Vector2
zoomDistance float
return System

CameraState() public method

Creates an instance of CameraState with the with the specified values.
public CameraState ( System.Vector3 yawPitch, System.Vector2 screenPos, float zoomDistance ) : System
yawPitch System.Vector3
screenPos System.Vector2
zoomDistance float
return System

Clear() public method

public Clear ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Set() public method

public Set ( float speed = -1 ) : void
speed float
return void