My Project
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
Free3DCamera Class Reference
Inheritance diagram for Free3DCamera:
BaseCamera

Public Member Functions

void StartLooking ()
 Enable free looking.
 
void StopLooking ()
 Disable free looking.
 
- Public Member Functions inherited from BaseCamera
virtual void Set ()
 
void UpdateForegroundCamera ()
 
Vector3 GetWorldPlanePosition ()
 
void SetListenerOnCamera ()
 

Public Attributes

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
 
- Public Attributes inherited from BaseCamera
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
 

Protected Member Functions

override void OnEnable ()
 
override void OnDisable ()
 
- Protected Member Functions inherited from BaseCamera
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)
 

Additional Inherited Members

- Protected Attributes inherited from BaseCamera
bool overrideKeepInBounds
 
Vector3 defaultPos
 
Vector3 thisPos
 
Quaternion defaultRot
 
Quaternion thisRot
 
float defaultZoom
 
float thisZoom
 
CameraController controller
 

Member Function Documentation

◆ OnDisable()

override void Free3DCamera.OnDisable ( )
inlineprotectedvirtual

Reimplemented from BaseCamera.

◆ OnEnable()

override void Free3DCamera.OnEnable ( )
inlineprotectedvirtual

Reimplemented from BaseCamera.


The documentation for this class was generated from the following file: