add readme

This commit is contained in:
Raffaele Mignone 2019-01-12 11:40:39 +01:00
parent f590ded0c0
commit ab415f2ee6
Signed by: norangebit
GPG Key ID: 4B9DF72AB9508845
2 changed files with 4 additions and 1 deletions

View File

@ -0,0 +1,3 @@
# Runtime building models
An ARCore and Sceneform project that build basic models, like sphere and cube, at runtime and place these into the scene.

View File

@ -88,7 +88,7 @@ fun changeColorOfMaterial(
color: Color,
renderable: Renderable
) {
val newColor = buildMaterial(context, color) {
buildMaterial(context, color) {
renderable.material = it
}
}