Method SetColorOrTextureProperty
SetColorOrTextureProperty(uint, string, ColorOrTexture)
Set a ColorOrTexture property
Declaration
[HandleProcessCorruptedStateExceptions]
public void SetColorOrTextureProperty(uint material, string name, ColorOrTexture colorOrTexture)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | material | The material to apply the color on |
| string | name | The property to set |
| ColorOrTexture | colorOrTexture | The ColorOrTexture to apply |