<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@three3d/effect](./effect.md) &gt; [addUniformPropertiesOnMaterial](./effect.adduniformpropertiesonmaterial.md)

## addUniformPropertiesOnMaterial() function

**Signature:**

```typescript
export declare function addUniformPropertiesOnMaterial<M extends Material, U extends Record<string, any>>(material: M, uniforms: U, shaderUniforms?: Record<string, IUniform<any>>): ModifiedMaterial<M, U>;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  material | M |  |
|  uniforms | U |  |
|  shaderUniforms | Record&lt;string, IUniform&lt;any&gt;&gt; | _(Optional)_ |

**Returns:**

[ModifiedMaterial](./effect.modifiedmaterial.md)<!-- -->&lt;M, U&gt;

