AI-generated Key Takeaways
-
StreetViewPanoramaOrientation.Builderis a class used to create Street View panorama orientations, defining the view direction and angle. -
It provides methods to set the bearing (direction) and tilt (angle) of the panorama.
-
You can build a
StreetViewPanoramaOrientationobject using thebuild()method after setting desired properties. -
The builder can be initialized as empty or with an existing
StreetViewPanoramaOrientationfor modification.
Builds Street View panorama orientations.
Field Summary
| public float | bearing | |
| public float | tilt |
Public Constructor Summary
|
StreetViewPanoramaOrientation.Builder()
Creates an empty builder.
|
|
Public Method Summary
| StreetViewPanoramaOrientation.Builder |
bearing(float bearing)
Sets the direction of the orientation, in degrees clockwise from north.
|
| StreetViewPanoramaOrientation |
build()
Builds a
StreetViewPanoramaOrientation. |
| StreetViewPanoramaOrientation.Builder |
tilt(float tilt)
Sets the angle, in degrees, of the orientation This value is restricted to being between -90
(directly down) and 90 (directly up).
|
Inherited Method Summary
Fields
public float bearing
public float tilt
Public Constructors
public StreetViewPanoramaOrientation.Builder ()
Creates an empty builder.
public StreetViewPanoramaOrientation.Builder (StreetViewPanoramaOrientation previous)
Parameters
| previous |
|---|
Public Methods
public StreetViewPanoramaOrientation.Builder bearing (float bearing)
Sets the direction of the orientation, in degrees clockwise from north.
Parameters
| bearing |
|---|
public StreetViewPanoramaOrientation.Builder tilt (float tilt)
Sets the angle, in degrees, of the orientation This value is restricted to being between -90 (directly down) and 90 (directly up).
Parameters
| tilt |
|---|