nameID | 通过 Shader.PropertyToID 检索的属性的名称 ID。 |
name | 属性的名称。 |
t | The new texture value. |
Sets a named texture value.
Automatically changes overridden state for this property to true. If the provided texture dimension doesn't correspond to the expected dimension, this function can log an error. If that happens, this assignment is ignored.