Interface IMainCameraPanningHandler
Assembly: cs.temp.dll.dll
Syntax
public interface IMainCameraPanningHandler : IMainCameraControlHandler
Properties
CurrOffsetX
Declaration
float CurrOffsetX { get; }
Property Value
Type |
Description |
System.Single |
|
CurrOffsetZ
Declaration
float CurrOffsetZ { get; }
Property Value
Type |
Description |
System.Single |
|
CurrPanningSpeed
Declaration
float CurrPanningSpeed { get; }
Property Value
Type |
Description |
System.Single |
|
IsFollowingTarget
Declaration
bool IsFollowingTarget { get; }
Property Value
IsPanning
Declaration
Property Value
LastPanDirection
Declaration
Vector3 LastPanDirection { get; }
Property Value
Methods
LookAt(Vector3, Boolean, Single)
Declaration
void LookAt(Vector3 targetPosition, bool smooth, float smoothFactor = 0.1F)
Parameters
Type |
Name |
Description |
Vector3 |
targetPosition |
|
Boolean |
smooth |
|
System.Single |
smoothFactor |
|
SetFollowTarget(Transform, Boolean)
Declaration
void SetFollowTarget(Transform transform, bool lockMovementUntilCentered = true)
Parameters
Type |
Name |
Description |
Transform |
transform |
|
Boolean |
lockMovementUntilCentered |
|
SetPosition(Vector3)
Declaration
void SetPosition(Vector3 position)
Parameters
Type |
Name |
Description |
Vector3 |
position |
|