# GetExposedSpace

> Provides the configured space of an exposed property in VisualEffectAsset.

## Definition

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

## GetExposedSpace(int)

Provides the configured space of an exposed property in VisualEffectAsset.

```csharp
public VFXSpace GetExposedSpace(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.0/script-reference/unityengine/shader/propertytoid.md) returns.

### Returns

| Type                                                                    | Description                         |
| ----------------------------------------------------------------------- | ----------------------------------- |
| [VFXSpace](/engine/6000.0/script-reference/unityengine/vfx/vfxspace.md) | The expected space of the property. |

### Remarks

VFXSpace.None will be returned if the property doesn't exist or isn't spaceable. The [VisualEffect.SetVector3](/engine/6000.0/script-reference/unityengine/vfx/visualeffect/setvector3.md) will not apply any automatic transform, the VisualEffect is expecting raw values.

## GetExposedSpace(string)

Provides the configured space of an exposed property in VisualEffectAsset.

```csharp
public VFXSpace GetExposedSpace(string name)
```

### Parameters

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

### Returns

| Type                                                                    | Description                         |
| ----------------------------------------------------------------------- | ----------------------------------- |
| [VFXSpace](/engine/6000.0/script-reference/unityengine/vfx/vfxspace.md) | The expected space of the property. |

### Remarks

VFXSpace.None will be returned if the property doesn't exist or isn't spaceable. The [VisualEffect.SetVector3](/engine/6000.0/script-reference/unityengine/vfx/visualeffect/setvector3.md) will not apply any automatic transform, the VisualEffect is expecting raw values.
