ModelRenderable

public class ModelRenderable

Renders a 3D Model by attaching it to a Node with setRenderable(Renderable).

future = ModelRenderable.builder().setSource(context, R.raw.renderable).build();
 renderable = future.thenAccept(...);
 

Nested Classes

class ModelRenderable.Builder Factory class for ModelRenderable  

Inherited Fields

Public Methods

static ModelRenderable.Builder
builder()
Constructs a ModelRenderable
ModelRenderable
makeCopy()
Creates a new instance of this ModelRenderable.

Inherited Methods

Public Methods

public static ModelRenderable.Builder builder ()

Constructs a ModelRenderable

public ModelRenderable makeCopy ()

Creates a new instance of this ModelRenderable.

The new renderable will have unique copy of all mutable state. All materials referenced by the ModelRenderable will also be instanced. Immutable data will be shared between the instances.

Send feedback about...