Astra Unity 2.6.6
Astra Unity Plugin
Astra.Examples.MaxCameraController Class Reference
Inheritance diagram for Astra.Examples.MaxCameraController:

Additional Inherited Members

- Public Member Functions inherited from Astra.Examples.CameraControllerBase
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
 
- Public Attributes inherited from Astra.Examples.CameraControllerBase
float panSpeed = 1f
 
float rotateSpeed = 2f
 
float zoomSpeed = 1f
 
float scrollSpeed = 1f
 
- Protected Member Functions inherited from Astra.Examples.CameraControllerBase
Bounds GetSelected (bool clearSelected=false)
 Finds the object oriented under the mouse More...
 
void ScrollWheel ()
 
- Protected Attributes inherited from Astra.Examples.CameraControllerBase
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: