|
void | LateUpdate () |
|
void | Init () |
|
void | Frame () |
| Focuses the camera on either all or selected targets.
|
|
void | FrameAll () |
| Orients the camera to focus on all skinned mesh renderers in the scene.
|
|
void | Select () |
| Sets the current target from mouse, useful for things like focusing on it.
|
|
void | SetSelected (Bounds selected) |
| Assigns the bounds for tracking More...
|
|
void | ClearSelected () |
| Removes outlines from SMRs
|
|
void | Zoom (bool horizontal=false) |
| Handles zooming in and out using the mouse More...
|
|
void | Orbit () |
| Handles rotating around an object from the mouse input
|
|
void | Pan () |
| Handles panning against an object from the mouse input
|
|
|
float | max = 1.0f |
|
float | min = 0.001f |
|
float | cameraSpeed = 0 |
|
float | camSens = 0.25f |
|
float | panSpeed = 1f |
|
float | rotateSpeed = 2f |
|
float | zoomSpeed = 1f |
|
float | scrollSpeed = 1f |
|
|
void | Navigation () |
|
Bounds | GetSelected (bool clearSelected=false) |
| Finds the object oriented under the mouse More...
|
|
void | ScrollWheel () |
|
|
GameObject | orbitTarget |
|
Quaternion | orbitTargetRot |
|
bool | isOrthographic = false |
|
Camera | cam |
|
string | panIconPath |
|
string | zoomIconPath |
|
string | orbitIconPath |
|
Color | outlineColor = Color.yellow |
|
The documentation for this class was generated from the following file:
- Assets/Astra/Examples/CameraControllers/CameraControllers/UnityCameraController.cs