# GetUInt

> Gets the value of a named unsigned integer property.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.VFX](/engine/6000.7/script-reference/unityengine/vfx.md)
* **Assembly:** UnityEngine.VFXModule

## GetUInt(int)

Gets the value of a named unsigned integer property.

```csharp
public uint GetUInt(int nameID)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The ID of the property. This is the same ID that [Shader.PropertyToID](/engine/6000.7/script-reference/unityengine/shader/propertytoid.md) returns.

### Returns

| Type                                                         | Description                                                                                                                                                                     |
| ------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | The value for the unsigned integer you specify. Returns `0` if [VisualEffect.HasUInt](/engine/6000.7/script-reference/unityengine/vfx/visualeffect/hasuint.md) returns `false`. |

## GetUInt(string)

Gets the value of a named unsigned integer property.

```csharp
public uint GetUInt(string name)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The name of the property.

### Returns

| Type                                                         | Description                                                                                                                                                                     |
| ------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | The value for the unsigned integer you specify. Returns `0` if [VisualEffect.HasUInt](/engine/6000.7/script-reference/unityengine/vfx/visualeffect/hasuint.md) returns `false`. |
