Request for Google Street View, which works in edit and play mode
More...
|
| GoogleStreetViewRequest (string key, string id, int zoom, bool downloadMeta=false, string language="en", GoogleStreetView.RegisterAs registerAs=GoogleStreetView.RegisterAs.loadMap) |
| Makes a new request to Google Street View by id More...
|
|
| GoogleStreetViewRequest (string key, double longitude, double latitude, int zoom, string language="en", GoogleStreetView.RegisterAs registerAs=GoogleStreetView.RegisterAs.loadMap) |
| Makes a new request to Google Street View by location More...
|
|
|
Action< T > | OnSuccess |
| Action that occurs when the request is successful More...
|
|
Action< T > | OnError |
| Action that occurs when the request is failed More...
|
|
Request for Google Street View, which works in edit and play mode
◆ GoogleStreetViewRequest() [1/2]
InfinityCode.uPano.Requests.GoogleStreetViewRequest.GoogleStreetViewRequest |
( |
string |
key, |
|
|
string |
id, |
|
|
int |
zoom, |
|
|
bool |
downloadMeta = false , |
|
|
string |
language = "en" , |
|
|
GoogleStreetView.RegisterAs |
registerAs = GoogleStreetView.RegisterAs.loadMap |
|
) |
| |
Makes a new request to Google Street View by id
- Parameters
-
key | Google API key |
id | ID of panorama |
zoom | Zoom of panorama (0-4). Size of side = 512 * 2 ^ zoom |
downloadMeta | Download meta data of a panorama |
language | Language code of the meta |
registerAs | How to register a request. |
◆ GoogleStreetViewRequest() [2/2]
InfinityCode.uPano.Requests.GoogleStreetViewRequest.GoogleStreetViewRequest |
( |
string |
key, |
|
|
double |
longitude, |
|
|
double |
latitude, |
|
|
int |
zoom, |
|
|
string |
language = "en" , |
|
|
GoogleStreetView.RegisterAs |
registerAs = GoogleStreetView.RegisterAs.loadMap |
|
) |
| |
Makes a new request to Google Street View by location
- Parameters
-
key | Google API key |
longitude | Longitude |
latitude | Latitude |
zoom | Zoom of panorama (0-4). Size of side = 512 * 2 ^ zoom |
language | Language code of the meta |
registerAs | How to register a request. |
◆ IsEmptyColor()
static bool InfinityCode.uPano.Requests.GoogleStreetViewRequest.IsEmptyColor |
( |
Color32 |
c | ) |
|
|
static |
Check color for the color of blank areas
- Parameters
-
- Returns
- True - is color of blank area, false - otherwise
◆ keepWaiting
override bool InfinityCode.uPano.Requests.GoogleStreetViewRequest.keepWaiting |
|
get |
Indicates if coroutine should be kept suspended
◆ texture
Texture2D InfinityCode.uPano.Requests.GoogleStreetViewRequest.texture |
|
get |