toggle menu
SceneView
androidJvm
switch theme
search in API
sceneview
/
com.google.ar.sceneform.rendering
/
Renderable
/
setMaterial
set
Material
open
fun
setMaterial
(
material
:
MaterialInstance
)
Sets the material bound to the first submesh.
open
fun
setMaterial
(
submeshIndex
:
Int
,
material
:
MaterialInstance
)
Sets the material bound to the specified submesh.