setTextureMap

fun setTextureMap(index: Int, texture: Texture2D): ERROR CLASS: Unresolved name: memScoped

Sets a texture map for the material.

Parameters

index

The index of the material map.

texture

The texture to set for the material map.


Sets a texture map for the material.

Parameters

mapType

The type of the material map.

texture

The texture to set for the material map.