The core of the panorama
More...
Inherits MonoBehaviour.
◆ CameraType
Types of camera for panorama
| Enumerator |
|---|
| createNew | Create a new camera
|
| existing | Uses an existing camera
|
◆ NewCameraDepthType
Types of new camera depth
| Enumerator |
|---|
| autoDetect | Automatically calculates the depth of the camera to show the panorama on the front
|
| manual | Use fixed camera depth
|
◆ Projection
Projection of new camera
| Enumerator |
|---|
| perspective | Perspective projection
|
| orthographic | Orthographic projection
|
◆ RotationMode
Types of rotation modes
| Enumerator |
|---|
| rotateCamera | Change pan and tilt rotate camera
|
| rotatePanorama | Change pan and tilt rotate the panorama GameObject
|
| rotateGameObject | Change pan and tilt rotate the custom GameObject
|
◆ LookAt()
| void InfinityCode.uPano.Pano.LookAt |
( |
float |
pan, |
|
|
float |
tilt |
|
) |
| |
Look at point by pan and tilt
- Parameters
-
◆ UpdateRotation()
| void InfinityCode.uPano.Pano.UpdateRotation |
( |
| ) |
|
◆ VerifyFOV()
| void InfinityCode.uPano.Pano.VerifyFOV |
( |
| ) |
|
◆ VerifyPan()
| void InfinityCode.uPano.Pano.VerifyPan |
( |
| ) |
|
◆ VerifyTilt()
| void InfinityCode.uPano.Pano.VerifyTilt |
( |
| ) |
|
◆ isPreview
| bool InfinityCode.uPano.Pano.isPreview |
|
static |
◆ locked
| bool InfinityCode.uPano.Pano.locked |
Interaction with the panorama is locked?
◆ OnFOVChanged
| Action<float> InfinityCode.uPano.Pano.OnFOVChanged |
Action that occurs when fov is changed
◆ OnGetInputPosition
| Func<Vector2> InfinityCode.uPano.Pano.OnGetInputPosition |
Allows you to intercept getting the current input position
◆ OnPanChanged
| Action<float> InfinityCode.uPano.Pano.OnPanChanged |
Action that occurs when pan is changed
◆ OnPanoDestroy
| Action<Pano> InfinityCode.uPano.Pano.OnPanoDestroy |
|
static |
Action that occurs when pano is destroyed
◆ OnPanoEnabled
| Action<Pano> InfinityCode.uPano.Pano.OnPanoEnabled |
|
static |
Action that occurs when pano is enabled
◆ OnPanoStarted
| Action<Pano> InfinityCode.uPano.Pano.OnPanoStarted |
|
static |
Action that occurs at the end of the Start method
◆ OnPanoUnloaded
| Action<Pano> InfinityCode.uPano.Pano.OnPanoUnloaded |
|
static |
Action that occurs when pano is unloaded
◆ OnTiltChanged
| Action<float> InfinityCode.uPano.Pano.OnTiltChanged |
Action that occurs when tilt is changed
◆ OnVerifyFOV
| Func<float, float> InfinityCode.uPano.Pano.OnVerifyFOV |
Function to verify and fix fov
◆ OnVerifyPan
| Func<float, float> InfinityCode.uPano.Pano.OnVerifyPan |
Function to verify and fix pan
◆ OnVerifyTilt
| Func<float, float> InfinityCode.uPano.Pano.OnVerifyTilt |
Function to verify and fix tilt
◆ version
| const string InfinityCode.uPano.Pano.version = "3.0.2.1" |
|
static |
◆ activeCamera
| Camera InfinityCode.uPano.Pano.activeCamera |
|
get |
Reference to the camera displaying the panorama
◆ fov
| float InfinityCode.uPano.Pano.fov |
|
getset |
◆ localPan
| float InfinityCode.uPano.Pano.localPan |
|
getset |
Gets and sets the local pan
◆ northPan
| float InfinityCode.uPano.Pano.northPan |
|
getset |
Gets and sets the north pan
◆ pan
| float InfinityCode.uPano.Pano.pan |
|
getset |
Gets and sets the pan (localPan - northPan)
◆ panoRenderer
Gets the reference to a pano renderer
◆ rotateGameObject
| GameObject InfinityCode.uPano.Pano.rotateGameObject |
|
getset |
Gets and sets GameObject that will rotate
◆ rotationMode
Gets and sets the rotation mode
◆ tilt
| float InfinityCode.uPano.Pano.tilt |
|
getset |