C# Class CameraRig, tf_client

ファイルを表示 Open project: wids-eria/tf_client Class Usage Examples

Public Properties

Property Type Description
use CameraRig,

Public Methods

Method Description
Awake ( ) : void

Initialize

GetVisibleRegion ( ) : Region,

Get the currently visible region

JumpTo ( Vector3 p ) : void

Jump the view to the supplied location

LateUpdate ( ) : void

Update camera locations

Start ( ) : void

Add the SSAO effect if supported

Zoom ( float axis ) : void

Zoom the main camera in or out as specified

Private Methods

Method Description
GetCoordAt ( Vector3 screenPosition ) : Vector3

Gets the tile coordinate at screenPosition.

Method Details

Awake() public method

Initialize
public Awake ( ) : void
return void

GetVisibleRegion() public method

Get the currently visible region
public GetVisibleRegion ( ) : Region,
return Region,

JumpTo() public method

Jump the view to the supplied location
public JumpTo ( Vector3 p ) : void
p Vector3 /// A ///
return void

LateUpdate() public method

Update camera locations
public LateUpdate ( ) : void
return void

Start() public method

Add the SSAO effect if supported
public Start ( ) : void
return void

Zoom() public method

Zoom the main camera in or out as specified
public Zoom ( float axis ) : void
axis float /// A ///
return void

Property Details

use public_oe static_oe property

singleton
public static CameraRig, use
return CameraRig,