# UpdateGlobalShaderProperties(float)

> Updates the global shader properties to use when rendering.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.5/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static void UpdateGlobalShaderProperties(float time)
```

### Parameters

**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): Time to use. -1 to disable.

### Remarks

If the Editor is not in Play Mode, [Graphics.Blit](/engine/6000.5/script-reference/unityengine/graphics/blit.md) will not normally take time into consideration. Setting the internal time and updating the global shader properties before doing a Blit will use the custom time value when performing the Blit operation.

Additional Resources: [EditorUtility.SetCameraAnimateMaterialsTime](/engine/6000.5/script-reference/unityeditor/editorutility/setcameraanimatematerialstime.md) [EditorUtility.SetCameraAnimateMaterials](/engine/6000.5/script-reference/unityeditor/editorutility/setcameraanimatematerials.md).
