# MeshExtensionMethods.ShadeGooch examples

Examples for [ShadeGooch](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.meshextensionmethods/shadegooch.md) in Grasshopper2.Extensions.MeshExtensionMethods.

## C#

```cs
using Grasshopper2.Extensions;

// As an extension method
mesh.ShadeGooch(light, warm, cold);

// As a static method
MeshExtensionMethods.ShadeGooch(mesh, light, warm, cold);
```

## Python

```python
import clr
clr.AddReference('Grasshopper2')
import Grasshopper2.Extensions
clr.ImportExtensions(Grasshopper2.Extensions)

# As an extension method
mesh.ShadeGooch(light, warm, cold)

# As a static method
Grasshopper2.Extensions.MeshExtensionMethods.ShadeGooch(mesh, light, warm, cold)
```
