|
Inventory Engine v4.2
|
Add this class to a camera rig (an empty object), bind some Cinemachine virtual cameras to it, and they'll move around the specified object as your gyro powered device moves. More...
Inherits MoreMountains.Tools.MMGyroscope.
Public Attributes | |
| List< MMGyroCam > | Cams |
| the list of cameras to move as the gyro moves | |
| Public Attributes inherited from MoreMountains.Tools.MMGyroscope | |
| bool | _TestMode = false |
| turn this on if you want to use the inspector to test this camera | |
| float | TestXAcceleration = 0f |
| the rotation to apply on the x axiswhen in test mode | |
| float | TestYAcceleration = 0f |
| the rotation to apply on the y axis while in test mode | |
| float | TestZAcceleration = 0f |
| the rotation to apply on the y axis while in test mode | |
| bool | CalibrateButton |
Protected Attributes | |
| Vector3 | _newAngles |
Additional Inherited Members | |
| Public Types inherited from MoreMountains.Tools.MMGyroscope | |
| enum | TimeScales { Scaled , Unscaled } |
| Static Public Member Functions inherited from MoreMountains.Tools.MMGyroscope | |
| static void | GyroscopeInitialization () |
| static void | GetValues () |
| Static Public Attributes inherited from MoreMountains.Tools.MMGyroscope | |
| static bool | GyroscopeActive = true |
| static TimeScales | TimeScale = TimeScales.Scaled |
| static Vector2 | Clamps = new Vector2(-1f, 1f) |
| static float | LerpSpeed = 1f |
| static bool | TestMode |
| Protected Member Functions inherited from MoreMountains.Tools.MMGyroscope | |
| virtual void | Start () |
| virtual void | Update () |
| virtual void | HandleTestMode () |
| Static Protected Member Functions inherited from MoreMountains.Tools.MMGyroscope | |
| static Quaternion | GyroscopeToUnity (Quaternion q) |
| Static Protected Attributes inherited from MoreMountains.Tools.MMGyroscope | |
| static Vector3 | _testVector = Vector3.zero |
| Properties inherited from MoreMountains.Tools.MMGyroscope | |
| static Quaternion | GyroscopeAttitude [get] |
| static Vector3 | GyroscopeRotationRate [get] |
| static Vector3 | GyroscopeAcceleration [get] |
| static Vector3 | InputAcceleration [get] |
| static Vector3 | GyroscopeGravity [get] |
| static Quaternion | InitialGyroscopeAttitude [get] |
| static Vector3 | InitialGyroscopeRotationRate [get] |
| static Vector3 | InitialGyroscopeAcceleration [get] |
| static Vector3 | InitialInputAcceleration [get] |
| static Vector3 | InitialGyroscopeGravity [get] |
| static Vector3 | CalibratedInputAcceleration [get] |
| static Vector3 | CalibratedGyroscopeGravity [get] |
| static Vector3 | LerpedCalibratedInputAcceleration [get] |
| static Vector3 | LerpedCalibratedGyroscopeGravity [get] |
Add this class to a camera rig (an empty object), bind some Cinemachine virtual cameras to it, and they'll move around the specified object as your gyro powered device moves.
|
protected |
| List<MMGyroCam> MoreMountains.Tools.MMGyroParallax.Cams |
the list of cameras to move as the gyro moves