---
title: RoI
product: Asset Transformer SDK
version: '2026.6'
latest_version: '2026.6'
status: This page documents version 2026.6. The latest version is 2026.6.
canonical: https://docs.unity.com/en-us/asset-transformer-sdk/2026.6/api/csharp/material_roi
latest_url: https://docs.unity.com/en-us/asset-transformer-sdk/2026.6/api/csharp/material_roi.md
last_updated: 2026-11-17
generated_at: 2026-11-18T06:45:37.625Z
locale: en-us
---

# RoI

> Struct

Inherited Members

* [Equals(object)](https://learn.microsoft.com/dotnet/api/system.valuetype.equals)

* [GetHashCode()](https://learn.microsoft.com/dotnet/api/system.valuetype.gethashcode)

* [ToString()](https://learn.microsoft.com/dotnet/api/system.valuetype.tostring)

* [Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\))

* [GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype)

* [ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals)

***

Namespace: UnityEngine.Pixyz.Material

```csharp
[Serializable]
public struct RoI
```

## Constructors

### RoI(RoI)

```csharp
public RoI(RoI o)
```

Parameters

| Type                     | Name | Description |
| ------------------------ | ---- | ----------- |
| [RoI](./material_roi.md) | o    |             |

## Fields

### x

```csharp
public int x
```

Returns

| Type                                                       | Description |
| ---------------------------------------------------------- | ----------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) |             |

### y

```csharp
public int y
```

Returns

| Type                                                       | Description |
| ---------------------------------------------------------- | ----------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) |             |

### w

```csharp
public int w
```

Returns

| Type                                                       | Description |
| ---------------------------------------------------------- | ----------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) |             |

### h

```csharp
public int h
```

Returns

| Type                                                       | Description |
| ---------------------------------------------------------- | ----------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) |             |
