Follow Puck Viewport State
The ViewportState that tracks the location puck's position.
Use ViewportPlugin.makeFollowPuckViewportState to create instances of FollowPuckViewportState.
Note: LocationComponentPlugin should be enabled to use this viewport state, and Users are responsible to create the viewport states and keep a reference to these states for future operations.
Functions
observe Data Source
Link copied to clipboard
abstract fun observeDataSource(viewportStateDataObserver: ViewportStateDataObserver): Cancelable
Content copied to clipboard
Registers an observer to receive the cameras being generated by this ViewportState.
start Updating Camera
Link copied to clipboard
abstract fun startUpdatingCamera()
Content copied to clipboard
Indicates the current ViewportState is now responsible for updating the camera.
stop Updating Camera
Link copied to clipboard
abstract fun stopUpdatingCamera()
Content copied to clipboard
Indicates the current ViewportState is no longer responsible for updating the camera.
Properties
options
Link copied to clipboard