# ParticleSystem.CustomDataModule

> Script interface for the CustomDataModule of a Particle System.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEngine](/engine/6000.5/script-reference/unityengine.md)
* **Assembly:** UnityEngine.ParticleSystemModule

```csharp
public struct ParticleSystem.CustomDataModule
```

## Remarks

Additional Resources: [ParticleSystem](/engine/6000.5/script-reference/unityengine/particlesystem.md), [ParticleSystem.customData](/engine/6000.5/script-reference/unityengine/particlesystem/customdata.md).

## Properties

| Property                                                                                          | Description                                                    |
| ------------------------------------------------------------------------------------------------- | -------------------------------------------------------------- |
| [enabled](/engine/6000.5/script-reference/unityengine/particlesystem/customdatamodule/enabled.md) | Specifies whether the CustomDataModule is enabled or disabled. |

## Methods

| Method                                                                                                                            | Description                                                                                                                                                                            |
| --------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [GetColor](/engine/6000.5/script-reference/unityengine/particlesystem/customdatamodule/getcolor.md)                               | Get a [ParticleSystem.MinMaxGradient](/engine/6000.5/script-reference/unityengine/particlesystem/minmaxgradient.md), that is being used to generate custom HDR color data.             |
| [GetMode](/engine/6000.5/script-reference/unityengine/particlesystem/customdatamodule/getmode.md)                                 | Find out the type of custom data that is being generated for the chosen data stream.                                                                                                   |
| [GetVector](/engine/6000.5/script-reference/unityengine/particlesystem/customdatamodule/getvector.md)                             | Get a [ParticleSystem.MinMaxCurve](/engine/6000.5/script-reference/unityengine/particlesystem/minmaxcurve.md), that is being used to generate custom data.                             |
| [GetVectorComponentCount](/engine/6000.5/script-reference/unityengine/particlesystem/customdatamodule/getvectorcomponentcount.md) | Query how many [ParticleSystem.MinMaxCurve](/engine/6000.5/script-reference/unityengine/particlesystem/minmaxcurve.md) elements are being used to generate this stream of custom data. |
| [SetColor](/engine/6000.5/script-reference/unityengine/particlesystem/customdatamodule/setcolor.md)                               | Set a [ParticleSystem.MinMaxGradient](/engine/6000.5/script-reference/unityengine/particlesystem/minmaxgradient.md), in order to generate custom HDR color data.                       |
| [SetMode](/engine/6000.5/script-reference/unityengine/particlesystem/customdatamodule/setmode.md)                                 | Choose the type of custom data to generate for the chosen data stream.                                                                                                                 |
| [SetVector](/engine/6000.5/script-reference/unityengine/particlesystem/customdatamodule/setvector.md)                             | Set a [ParticleSystem.MinMaxCurve](/engine/6000.5/script-reference/unityengine/particlesystem/minmaxcurve.md), in order to generate custom data.                                       |
| [SetVectorComponentCount](/engine/6000.5/script-reference/unityengine/particlesystem/customdatamodule/setvectorcomponentcount.md) | Specify how many curves are used to generate custom data for this stream.                                                                                                              |
