API reference
API reference
Select your platform
No SDKs available
No versions available

MeshMaterialOverrides Function

Modifiers: final
Creates a MeshMaterialOverrides component with a given map of Ints representing materials to Ints representing colors. This is a secondary constructor for the MeshMaterialOverrides component

Signature

fun MeshMaterialOverrides(colors: HashMap<Int, Int><Int, Int>): MeshMaterialOverrides

Parameters

colors: HashMap<Int, Int>
The map of Ints representing materials to Ints representing colors

Returns

Did you find this page helpful?
Thumbs up icon
Thumbs down icon