![]() |
uPano
v3.1
|
Arrow pointing direction to the next panorama More...
Public Member Functions | |
| Direction (float pan, GameObject prefab, DirectionManager manager) | |
| Constructor More... | |
| override void | GetPanTilt (out float pan, out float tilt) |
| Gets the pan and tilt of an interactive element More... | |
| override void | Reinit () |
| Reinitializes an interactive element More... | |
| override void | SetPanTilt (float pan, float tilt) |
| Sets pan and tilt for an interactive element More... | |
Public Member Functions inherited from InfinityCode.uPano.InteractiveElements.InteractiveElement | |
| virtual void | Destroy () |
| Destroy an interactive element More... | |
| virtual void | InitQuickActions (GameObject target) |
| Initiates quick actions More... | |
| T | GetRuntimeField< T > (string key) |
| Gets user value for the key and cast to the specified type More... | |
Properties | |
| DirectionInstance | instance [get] |
| Instance of the direction More... | |
| DirectionManager | manager [get] |
| Reference to the Direction manager More... | |
| float | pan [get, set] |
| Pan More... | |
| override GameObject | prefab [get, set] |
| Prefab More... | |
| Vector3 | scale [get, set] |
| Scale More... | |
Properties inherited from InfinityCode.uPano.InteractiveElements.PrefabElement | |
| abstract GameObject | prefab [get, set] |
| Get / set a prefab More... | |
Properties inherited from InfinityCode.uPano.InteractiveElements.InteractiveElement | |
| Pano | pano [get, set] |
| Reference to instance of a panorama More... | |
| object | this[string key] [get, set] |
| Gets and sets the user value to be stored in an element More... | |
| virtual string | title [get, set] |
| Title More... | |
| virtual bool | visible [get, set] |
| Visible More... | |
Properties inherited from InfinityCode.uPano.InteractiveElements.IScalableElement | |
| Vector3 | scale [get, set] |
| Gets and sets the scale of interactive element More... | |
Additional Inherited Members | |
Public Attributes inherited from InfinityCode.uPano.InteractiveElements.InteractiveElement | |
| InteractiveElementEvent | OnClick = new InteractiveElementEvent() |
| Event that occurs when click Interactive Element More... | |
| InteractiveElementEvent | OnPointerDown = new InteractiveElementEvent() |
| Event that occurs when press Interactive Element More... | |
| InteractiveElementEvent | OnPointerUp = new InteractiveElementEvent() |
| Event that occurs when release Interactive Element More... | |
| InteractiveElementEvent | OnPointerEnter = new InteractiveElementEvent() |
| Event that occurs when cursor enter on Interactive Element More... | |
| InteractiveElementEvent | OnPointerExit = new InteractiveElementEvent() |
| Event that occurs when cursor exit from Interactive Element More... | |
| bool | ignoreGlobalActions = false |
| Should the element ignore global actions? More... | |
| GameObject | loadPanoramaPrefab |
| Prefab of panorama that should be instantiated and opened when you click on an element More... | |
| GameObject | switchToPanorama |
| Panorama that should be opened when you click on an element More... | |
| bool | copyPanTilt = true |
| Copy pan and tilt from source to target panorama More... | |
| GameObject | beforeTransitionPrefab |
| Prefab which contains the transition that is played before the panorama is closed More... | |
| GameObject | afterTransitionPrefab |
| Prefab which contains the transition that is played after the panorama is closed More... | |
Arrow pointing direction to the next panorama
| InfinityCode.uPano.Directions.Direction.Direction | ( | float | pan, |
| GameObject | prefab, | ||
| DirectionManager | manager | ||
| ) |
Constructor
| pan | Pan |
| prefab | Prefab |
| manager | Reference to the manager |
|
virtual |
Gets the pan and tilt of an interactive element
| pan | Pan |
| tilt | Tilt |
Implements InfinityCode.uPano.InteractiveElements.InteractiveElement.
|
virtual |
Reinitializes an interactive element
Implements InfinityCode.uPano.InteractiveElements.InteractiveElement.
|
virtual |
Sets pan and tilt for an interactive element
| pan | New pan |
| tilt | New tilt |
Implements InfinityCode.uPano.InteractiveElements.InteractiveElement.
|
get |
Instance of the direction
|
get |
Reference to the Direction manager
|
getset |
Pan
|
getset |
Prefab
|
getset |
Scale