Page Summary
-
StreetViewPanoramaOrientation.Builderis used to build Street View panorama orientations. -
It includes fields for
bearingandtiltto define orientation. -
You can create a new builder or initialize one with an existing orientation.
-
Methods are available to set the
bearingandtiltvalues and finallybuildthe orientation.
Builds Street View panorama orientations.
Field Summary
| public float | bearing | |
| public float | tilt |
Public Constructor Summary
|
Builder()
Creates an empty builder.
|
|
|
Builder(StreetViewPanoramaOrientation
previous)
Creates a builder with an existing
StreetViewPanoramaOrientation.
|
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 Builder ()
Creates an empty builder.
public Builder (StreetViewPanoramaOrientation previous)
Creates a builder with an existing
StreetViewPanoramaOrientation.
Parameters
| previous | The existing orientation to initialize the builder with. Must not be
null. |
|---|
Public Methods
public StreetViewPanoramaOrientation.Builder bearing (float bearing)
Sets the direction of the orientation, in degrees clockwise from north.
public StreetViewPanoramaOrientation build ()
Builds a
StreetViewPanoramaOrientation.
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).