add readme
This commit is contained in:
parent
f590ded0c0
commit
ab415f2ee6
|
@ -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.
|
|
@ -88,7 +88,7 @@ fun changeColorOfMaterial(
|
|||
color: Color,
|
||||
renderable: Renderable
|
||||
) {
|
||||
val newColor = buildMaterial(context, color) {
|
||||
buildMaterial(context, color) {
|
||||
renderable.material = it
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue