# VFXEventAttribute

> This class handles the properties that you transmit to a system using a VisualEffect.SendEvent.

## Definition

* **Type:** Class
* **Namespace:** [UnityEngine.VFX](/engine/6000.7/script-reference/unityengine/vfx.md)
* **Assembly:** UnityEngine.VFXModule
* **Implements:** [IDisposable](https://learn.microsoft.com/dotnet/api/system.idisposable)

```csharp
public sealed class VFXEventAttribute : IDisposable
```

## Remarks

Lets you alter initial properties from a Spawn context.

## Constructors

| Constructor                                                                                                                       | Description                                           |
| --------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------- |
| [VFXEventAttribute(UnityEngine.VFX.VFXEventAttribute)](/engine/6000.7/script-reference/unityengine/vfx/vfxeventattribute/ctor.md) | The copy constructor for the VFXEventAttribute class. |

## Methods

| Method                                                                                                | Description                                                                                            |
| ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |
| [CopyValuesFrom](/engine/6000.7/script-reference/unityengine/vfx/vfxeventattribute/copyvaluesfrom.md) | Copies the values from a VFXEventAttribute to the one you call this function from.                     |
| [GetBool](/engine/6000.7/script-reference/unityengine/vfx/vfxeventattribute/getbool.md)               | Use this method to get the value of a named bool property from the VFXEventAttribute.                  |
| [GetFloat](/engine/6000.7/script-reference/unityengine/vfx/vfxeventattribute/getfloat.md)             | Use this method to get the value of a named float property from the VFXEventAttribute.                 |
| [GetInt](/engine/6000.7/script-reference/unityengine/vfx/vfxeventattribute/getint.md)                 | Use this method to get the value of a named integer property from the VFXEventAttribute.               |
| [GetMatrix4x4](/engine/6000.7/script-reference/unityengine/vfx/vfxeventattribute/getmatrix4x4.md)     | Use this method to get the value of a named Matrix4x4 property from the VFXEventAttribute.             |
| [GetUint](/engine/6000.7/script-reference/unityengine/vfx/vfxeventattribute/getuint.md)               | Use this method to get the value of a named unsigned integer property from the VFXEventAttribute.      |
| [GetVector2](/engine/6000.7/script-reference/unityengine/vfx/vfxeventattribute/getvector2.md)         | Use this method to get the value of a named Vector2 property from the VFXEventAttribute.               |
| [GetVector3](/engine/6000.7/script-reference/unityengine/vfx/vfxeventattribute/getvector3.md)         | Use this method to get the value of a named Vector3 property from the VFXEventAttribute.               |
| [GetVector4](/engine/6000.7/script-reference/unityengine/vfx/vfxeventattribute/getvector4.md)         | Use this method to get the value of a named Vector4 property from the VFXEventAttribute.               |
| [HasBool](/engine/6000.7/script-reference/unityengine/vfx/vfxeventattribute/hasbool.md)               | Use this method to check if the VFXEventAttribute stores a bool with the name you pass in.             |
| [HasFloat](/engine/6000.7/script-reference/unityengine/vfx/vfxeventattribute/hasfloat.md)             | Use this method to check if the VFXEventAttribute stores a float with the name you pass in.            |
| [HasInt](/engine/6000.7/script-reference/unityengine/vfx/vfxeventattribute/hasint.md)                 | Use this method to check if the VFXEventAttribute stores a integer with the name you pass in.          |
| [HasMatrix4x4](/engine/6000.7/script-reference/unityengine/vfx/vfxeventattribute/hasmatrix4x4.md)     | Use this method to check if the VFXEventAttribute stores a Matrix4x4 with the name you pass in.        |
| [HasUint](/engine/6000.7/script-reference/unityengine/vfx/vfxeventattribute/hasuint.md)               | Use this method to check if the VFXEventAttribute stores a unsigned integer with the name you pass in. |
| [HasVector2](/engine/6000.7/script-reference/unityengine/vfx/vfxeventattribute/hasvector2.md)         | Use this method to check if the VFXEventAttribute stores a Vector2 with the name you pass in.          |
| [HasVector3](/engine/6000.7/script-reference/unityengine/vfx/vfxeventattribute/hasvector3.md)         | Use this method to check if the VFXEventAttribute stores a Vector3 with the name you pass in.          |
| [HasVector4](/engine/6000.7/script-reference/unityengine/vfx/vfxeventattribute/hasvector4.md)         | Use this method to check if the VFXEventAttribute stores a Vector4 with the name you pass in.          |
| [SetBool](/engine/6000.7/script-reference/unityengine/vfx/vfxeventattribute/setbool.md)               | Use this method to set the value of a bool with the name you pass in.                                  |
| [SetFloat](/engine/6000.7/script-reference/unityengine/vfx/vfxeventattribute/setfloat.md)             | Use this method to set the value of a float with the name you pass in.                                 |
| [SetInt](/engine/6000.7/script-reference/unityengine/vfx/vfxeventattribute/setint.md)                 | Use this method to set the value of an integer with the name you pass in.                              |
| [SetMatrix4x4](/engine/6000.7/script-reference/unityengine/vfx/vfxeventattribute/setmatrix4x4.md)     | Use this method to set the value of a Matrix4x4 with the name you pass in.                             |
| [SetUint](/engine/6000.7/script-reference/unityengine/vfx/vfxeventattribute/setuint.md)               | Use this method to set the value of an unsigned integer with the name you pass in.                     |
| [SetVector2](/engine/6000.7/script-reference/unityengine/vfx/vfxeventattribute/setvector2.md)         | Use this method to set the value of a Vector2 with the name you pass in.                               |
| [SetVector3](/engine/6000.7/script-reference/unityengine/vfx/vfxeventattribute/setvector3.md)         | Use this method to set the value of a Vector3 with the name you pass in.                               |
| [SetVector4](/engine/6000.7/script-reference/unityengine/vfx/vfxeventattribute/setvector4.md)         | Use this method to set the value of a Vector4 with the name you pass in.                               |
