ViewSizer

interface ViewSizer

Interface for controlling the size of a ViewRenderable in the . The final size that the view is displayed at will be the size from this ViewSizer scaled by the getWorldScale of the com.google.ar.sceneform.Node that the ViewRenderable is attached to.

Inheritors

Functions

Link copied to clipboard
abstract fun getSize(view: View): Vector3
Calculates the desired size of the view in the com.google.ar.sceneform.