## LambertMaterial.DiffuseColor property

Gets or sets the diffuse color

```csharp
public Vector3 DiffuseColor { get; set; }
```

### Property Value

The

```csharp
var mat = new LambertMaterial();
mat.DiffuseColor = new Vector3(1, 0, 0);
```

```csharp
var mat = new LambertMaterial();
mat.setDiffuseColor(new Vector3(1, 0, 0));
```

diffuse.

### See Also

* struct [Vector3](../../../aspose.threed.utilities/vector3/)
* class [LambertMaterial](../)
* namespace [Aspose.ThreeD.Shading](../../lambertmaterial/)
* assembly [Aspose.3D](../../../)


