toggle menu
SceneView
androidJvm
switch theme
search in API
sceneview
/
io.github.sceneview.material
/
setColor
set
Color
fun
MaterialInstance
.
setColor
(
name
:
String
,
color
:
Color
,
type
:
Colors.RgbaType
=
Colors.RgbaType.SRGB
)
fun
MaterialInstance
.
setColor
(
name
:
String
,
color
:
Int
,
type
:
Colors.RgbaType
=
Colors.RgbaType.SRGB
)
fun
MaterialInstance
.
setColor
(
name
:
String
,
color
:
Color
,
type
:
Colors.RgbaType
=
Colors.RgbaType.SRGB
)
fun
MaterialInstance
.
setColor
(
color
:
Color
,
type
:
Colors.RgbaType
=
Colors.RgbaType.SRGB
)
fun
MaterialInstance
.
setColor
(
color
:
Int
,
type
:
Colors.RgbaType
=
Colors.RgbaType.SRGB
)
fun
MaterialInstance
.
setColor
(
color
:
Color
,
type
:
Colors.RgbaType
=
Colors.RgbaType.SRGB
)