clearMaterialInstanceAt

actual fun clearMaterialInstanceAt(instance: EntityInstance, primitiveIndex: Int)

Clears the material instance for a primitive (revert to default).

Parameters

instance

Instance of the component obtained from getInstance()

primitiveIndex

the primitive of interest

expect fun clearMaterialInstanceAt(instance: EntityInstance, primitiveIndex: Int)

Clears the material instance for a primitive (revert to default).

Parameters

instance

Instance of the component obtained from getInstance()

primitiveIndex

the primitive of interest

actual fun clearMaterialInstanceAt(instance: EntityInstance, primitiveIndex: Int)

Clears the material instance for a primitive (revert to default).

Parameters

instance

Instance of the component obtained from getInstance()

primitiveIndex

the primitive of interest

actual fun clearMaterialInstanceAt(instance: EntityInstance, primitiveIndex: Int)

Clears the material instance for a primitive (revert to default).

Parameters

instance

Instance of the component obtained from getInstance()

primitiveIndex

the primitive of interest

actual fun clearMaterialInstanceAt(instance: EntityInstance, primitiveIndex: Int)

Clears the material instance for a primitive (revert to default).

Parameters

instance

Instance of the component obtained from getInstance()

primitiveIndex

the primitive of interest