|
|
void | StartLooking () |
| | Enable free looking.
|
| |
|
void | StopLooking () |
| | Disable free looking.
|
| |
|
virtual void | Set () |
| |
|
void | UpdateForegroundCamera () |
| |
|
Vector3 | GetWorldPlanePosition () |
| |
|
void | SetListenerOnCamera () |
| |
|
|
float | posLerp = 0.02f |
| |
|
float | rotLerp = 0.01f |
| |
|
float | fovLerp = 0.02f |
| |
|
float | movementSpeed = 10f |
| | Normal speed of camera movement.
|
| |
|
float | fastMovementSpeed = 100f |
| | Speed of camera movement when shift is held down,.
|
| |
|
float | freeLookSensitivity = 3f |
| | Sensitivity for free look.
|
| |
|
float | zoomSensitivity = 10f |
| | Amount to zoom the camera when using the mouse wheel.
|
| |
|
float | fastZoomSensitivity = 50f |
| | Amount to zoom the camera when using the mouse wheel (fast mode).
|
| |
|
bool | locked = false |
| |
|
Camera | cam |
| |
|
AudioListener | listener |
| |
|
float | listenerDistance = 20.0f |
| |
|
Camera | foregroundCam |
| |
|
float | foregroundOffset = 1.0f |
| |
|
bool | keepInBoundsLeft |
| |
|
bool | keepInBoundsRight |
| |
|
bool | keepInBoundsTop |
| |
|
bool | keepInBoundsBottom |
| |
|
bool | outOfFocus |
| |
|
float | lowerBoundAdjust = 10.0f |
| |
|
float | upperBoundAdjust = 0.0f |
| |
|
float | leftBoundAdjust = 1.0f |
| |
|
float | rightBoundAdjust = 1.0f |
| |
|
bool | restoreTransform = false |
| |
|
| override void | OnEnable () |
| |
| override void | OnDisable () |
| |
|
virtual void | Awake () |
| |
|
void | LateUpdate () |
| |
|
Vector3 | KeepInsideBounds (Vector3 pos) |
| |
|
void | SetListener (Transform parent, Vector3 listenerPos, float listenerDistance) |
| |
|
virtual void | OnEnable () |
| |
|
virtual void | OnDisable () |
| |
|
virtual void | OnApplicationFocus (bool hasFocus) |
| |
|
|
bool | overrideKeepInBounds |
| |
|
Vector3 | defaultPos |
| |
|
Vector3 | thisPos |
| |
|
Quaternion | defaultRot |
| |
|
Quaternion | thisRot |
| |
|
float | defaultZoom |
| |
|
float | thisZoom |
| |
|
CameraController | controller |
| |
◆ OnDisable()
| override void Free3DCamera.OnDisable |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ OnEnable()
| override void Free3DCamera.OnEnable |
( |
| ) |
|
|
inlineprotectedvirtual |
The documentation for this class was generated from the following file:
- C:/Transhuman/S2/Assets/Engine/Camera/Free3DCamera.cs