Class ViewRenderable


  • @RequiresApi(api=24)
    public class ViewRenderable
    extends Renderable
    Renders a 2D Android view in 3D space by attaching it to a Node with Node.setRenderable(Renderable). By default, the size of the view is 1 meter in the Scene per 250dp in the layout. Use a ViewSizer to control how the size of the view in the Scene is calculated.
    
     future = ViewRenderable.builder().setView(context, R.layout.view).build();
     viewRenderable = future.thenAccept(...);