Constructor TextureGeneratorControl
TextureGeneratorControl(String, String, String)
Default constructor of TextureGeneratorControl
Declaration
public TextureGeneratorControl(string propertyName, string extraPropertyName1 = null, string extraPropertyName2 = null)
Parameters
| Type | Name | Description |
|---|---|---|
| String | propertyName | Material property name. |
| String | extraPropertyName1 | First additional material property name. Optional. |
| String | extraPropertyName2 | Second additional material property name. Optional. |
TextureGeneratorControl(ComputeShader, String, String, String, String)
Default constructor of TextureGeneratorControl
Declaration
public TextureGeneratorControl(ComputeShader compute, string computeOptionsJson, string propertyName, string extraPropertyName1 = null, string extraPropertyName2 = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ComputeShader | compute | |
| String | computeOptionsJson | |
| String | propertyName | Material property name. |
| String | extraPropertyName1 | First additional material property name. Optional. |
| String | extraPropertyName2 | Second additional material property name. Optional. |