# PtrList

> Class

Inheritance

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

***

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.Core

```csharp
[Serializable]
public class PtrList
```

## Constructors

### PtrList()

```csharp
public PtrList()
```

### PtrList(IntPtr\[])

```csharp
public PtrList(IntPtr[] tab)
```

Parameters

| Type                                                               | Name | Description |
| ------------------------------------------------------------------ | ---- | ----------- |
| [IntPtr\[\]](https://learn.microsoft.com/dotnet/api/system.intptr) | tab  |             |

### PtrList(int)

```csharp
public PtrList(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 IntPtr this[int index] { get; set; }
```

Returns

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

### list

```csharp
public IntPtr[] list
```

Returns

| Type                                                               | Description |
| ------------------------------------------------------------------ | ----------- |
| [IntPtr\[\]](https://learn.microsoft.com/dotnet/api/system.intptr) |             |

## Operators

### implicit operator IntPtr\[]\(PtrList)

```csharp
public static implicit operator IntPtr[](PtrList o)
```

Parameters

| Type                      | Name | Description |
| ------------------------- | ---- | ----------- |
| [PtrList](./core_ptrlist) | o    |             |

Returns

| Type                                                               | Description |
| ------------------------------------------------------------------ | ----------- |
| [IntPtr\[\]](https://learn.microsoft.com/dotnet/api/system.intptr) |             |
