Class CameraRotationManager
Inheritance
System.Object
CameraRotationManager
Namespace: Immersive.Camera
Assembly: cs.temp.dll.dll
Syntax
public class CameraRotationManager : MonoBehaviour
Properties
CanRotateLeft
Whether the camera system can be rotate to the left in its current configurat.
Declaration
public bool CanRotateLeft { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
CanRotateRight
Whether the camera system can be rotate to the right in its current configuration.
Declaration
public bool CanRotateRight { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
CurrentRotation
The CameraRotation that the camera system is currently in.
Declaration
public CameraRotation CurrentRotation { get; }
Property Value
| Type | Description |
|---|---|
| CameraRotation |
Methods
RotateLeft()
Rotates the camera system to the left if CanRotateLeft is true.
Declaration
public void RotateLeft()
RotateRight()
Rotates the camera system to the right if CanRotateRight is true.
Declaration
public void RotateRight()
Events
OnRotationFinished
Declaration
public static event Action OnRotationFinished
Event Type
| Type | Description |
|---|---|
| Action |
OnRotationStarted
Declaration
public static event Action OnRotationStarted
Event Type
| Type | Description |
|---|---|
| Action |