---
title: MaterialCountList
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/scene_materialcountlist
latest_url: https://docs.unity.com/en-us/asset-transformer-sdk/2026.6/api/csharp/scene_materialcountlist.md
last_updated: 2026-11-17
generated_at: 2026-11-18T06:54:06.217Z
locale: en-us
---

# MaterialCountList

> Class

Inheritance

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

***

Inherited Members

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

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

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

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

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

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

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

***

Namespace: UnityEngine.Pixyz.Scene

```csharp
[Serializable]
public class MaterialCountList
```

## Constructors

### MaterialCountList(MaterialCount\[])

```csharp
public MaterialCountList(MaterialCount[] tab)
```

Parameters

| Type                                          | Name | Description |
| --------------------------------------------- | ---- | ----------- |
| [MaterialCount\[\]](./scene_materialcount.md) | tab  |             |

### MaterialCountList(int)

```csharp
public MaterialCountList(int size)
```

Parameters

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

## Fields

### length

```csharp
public int length { get; }
```

Returns

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

### this\[int]

```csharp
public MaterialCount this[int index] { get; set; }
```

Returns

| Type                                      | Description |
| ----------------------------------------- | ----------- |
| [MaterialCount](./scene_materialcount.md) |             |

### list

```csharp
public MaterialCount[] list
```

Returns

| Type                                          | Description |
| --------------------------------------------- | ----------- |
| [MaterialCount\[\]](./scene_materialcount.md) |             |

## Operators

### implicit operator MaterialCount\[]\(MaterialCountList)

```csharp
public static implicit operator MaterialCount[](MaterialCountList o)
```

Parameters

| Type                                              | Name | Description |
| ------------------------------------------------- | ---- | ----------- |
| [MaterialCountList](./scene_materialcountlist.md) | o    |             |

Returns

| Type                                          | Description |
| --------------------------------------------- | ----------- |
| [MaterialCount\[\]](./scene_materialcount.md) |             |
