C# Class GILES.pb_SceneCamera

Inheritance: UnityEngine.MonoBehaviour
Exibir arquivo Open project: procore3d/giles Class Usage Examples

Public Properties

Property Type Description
DollyCursor UnityEngine.Texture2D
LookCursor UnityEngine.Texture2D
OrbitCursor UnityEngine.Texture2D
PanCursor UnityEngine.Texture2D
lookSpeed float
moveSpeed float
orbitSpeed float
plane UnityEngine.GameObject
scrollModifier float
zoomSpeed float

Private Properties

Property Type Description
Awake void
CalculateCameraPosition UnityEngine.Vector3
CamTarget UnityEngine.Vector3
CheckMouseOverGUI bool
CopySign float
LateUpdate void
OnGUI void
ScreenToWorldDistance float
Start void
ZoomInternal void
ZoomInternal void

Public Methods

Method Description
AddOnCameraMoveDelegate ( OnCameraMoveEvent del ) : void
Focus ( GameObject target ) : void
Focus ( Vector3 target ) : void
Focus ( Vector3 target, float distance ) : void
GetPivot ( ) : Vector3
IsUsingKey ( ) : bool
IsUsingMouse ( Vector2 mousePosition ) : bool

Private Methods

Method Description
Awake ( ) : void
CalculateCameraPosition ( Vector3 target ) : Vector3
CamTarget ( ) : Vector3
CheckMouseOverGUI ( ) : bool
CopySign ( float x, float y ) : float
LateUpdate ( ) : void
OnGUI ( ) : void
ScreenToWorldDistance ( float screenDistance, float distanceFromCamera ) : float
Start ( ) : void
ZoomInternal ( GameObject target ) : void
ZoomInternal ( Vector3 target, float distance ) : void

Method Details

AddOnCameraMoveDelegate() public static method

public static AddOnCameraMoveDelegate ( OnCameraMoveEvent del ) : void
del OnCameraMoveEvent
return void

Focus() public static method

public static Focus ( GameObject target ) : void
target UnityEngine.GameObject
return void

Focus() public static method

public static Focus ( Vector3 target ) : void
target UnityEngine.Vector3
return void

Focus() public static method

public static Focus ( Vector3 target, float distance ) : void
target UnityEngine.Vector3
distance float
return void

GetPivot() public method

public GetPivot ( ) : Vector3
return UnityEngine.Vector3

IsUsingKey() public method

public IsUsingKey ( ) : bool
return bool

IsUsingMouse() public method

public IsUsingMouse ( Vector2 mousePosition ) : bool
mousePosition UnityEngine.Vector2
return bool

Property Details

DollyCursor public_oe property

public Texture2D,UnityEngine DollyCursor
return UnityEngine.Texture2D

LookCursor public_oe property

public Texture2D,UnityEngine LookCursor
return UnityEngine.Texture2D

OrbitCursor public_oe property

public Texture2D,UnityEngine OrbitCursor
return UnityEngine.Texture2D

PanCursor public_oe property

public Texture2D,UnityEngine PanCursor
return UnityEngine.Texture2D

lookSpeed public_oe property

public float lookSpeed
return float

moveSpeed public_oe property

public float moveSpeed
return float

orbitSpeed public_oe property

public float orbitSpeed
return float

plane public_oe property

public GameObject,UnityEngine plane
return UnityEngine.GameObject

scrollModifier public_oe property

public float scrollModifier
return float

zoomSpeed public_oe property

public float zoomSpeed
return float