C# Class CameraRig, tf_client

Afficher le fichier Open project: wids-eria/tf_client Class Usage Examples

Méthodes publiques

Свойство Type Description
use CameraRig,

Méthodes publiques

Méthode 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

Méthode Description
GetCoordAt ( Vector3 screenPosition ) : Vector3

Gets the tile coordinate at screenPosition.

Method Details

Awake() public méthode

Initialize
public Awake ( ) : void
Résultat void

GetVisibleRegion() public méthode

Get the currently visible region
public GetVisibleRegion ( ) : Region,
Résultat Region,

JumpTo() public méthode

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

LateUpdate() public méthode

Update camera locations
public LateUpdate ( ) : void
Résultat void

Start() public méthode

Add the SSAO effect if supported
public Start ( ) : void
Résultat void

Zoom() public méthode

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

Property Details

use public_oe static_oe property

singleton
public static CameraRig, use
Résultat CameraRig,