C# Class OrbitFollowCameraCtrl, ex-unity-old-deprecated

Inheritance: CameraCtrl
显示文件 Open project: exdev/ex-unity-old-deprecated

Public Properties

Property Type Description
maxCameraRotUp float
maxDistance float
minCameraRotUp float
minDistance float
moveDampingDuration float
offset Vector3
rotDampingDuration float
traceTarget Transform
zoomDampingDuration float

Public Methods

Method Description
Apply ( ) : void
GetLookAtPoint ( ) : Vector3
HandleInput ( ) : void
MoveTo ( Vector3 _pos ) : void
OnDrawGizmos ( ) : void
Set ( float _cameraRotUp, float _cameraRotSide, float _distance ) : void
Start ( ) : void
Update ( ) : void
UpdateTransform ( ) : void

Method Details

Apply() public method

public Apply ( ) : void
return void

GetLookAtPoint() public method

public GetLookAtPoint ( ) : Vector3
return Vector3

HandleInput() public method

public HandleInput ( ) : void
return void

MoveTo() public method

public MoveTo ( Vector3 _pos ) : void
_pos Vector3
return void

OnDrawGizmos() public method

public OnDrawGizmos ( ) : void
return void

Set() public method

public Set ( float _cameraRotUp, float _cameraRotSide, float _distance ) : void
_cameraRotUp float
_cameraRotSide float
_distance float
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

UpdateTransform() public method

public UpdateTransform ( ) : void
return void

Property Details

maxCameraRotUp public_oe property

public float maxCameraRotUp
return float

maxDistance public_oe property

public float maxDistance
return float

minCameraRotUp public_oe property

public float minCameraRotUp
return float

minDistance public_oe property

public float minDistance
return float

moveDampingDuration public_oe property

public float moveDampingDuration
return float

offset public_oe property

public Vector3 offset
return Vector3

rotDampingDuration public_oe property

public float rotDampingDuration
return float

traceTarget public_oe property

public Transform traceTarget
return Transform

zoomDampingDuration public_oe property

public float zoomDampingDuration
return float