# ImageDefinition

> Class

Inheritance

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

***

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

```csharp
[Serializable]
public class ImageDefinition
```

## Constructors

### ImageDefinition()

```csharp
public ImageDefinition()
```

### ImageDefinition(ImageDefinition)

```csharp
public ImageDefinition(ImageDefinition o)
```

Parameters

| Type                                          | Name | Description |
| --------------------------------------------- | ---- | ----------- |
| [ImageDefinition](./material_imagedefinition) | o    |             |

## Fields

### id

```csharp
public uint id
```

Returns

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

### name

```csharp
public string name
```

Returns

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

### width

```csharp
public int width
```

Returns

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

### height

```csharp
public int height
```

Returns

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

### layout

```csharp
public ImageLayout layout
```

Returns

| Type                                  | Description |
| ------------------------------------- | ----------- |
| [ImageLayout](./material_imagelayout) |             |

### type

```csharp
public ImageComponentType type
```

Returns

| Type                                                | Description |
| --------------------------------------------------- | ----------- |
| [ImageComponentType](./material_imagecomponenttype) |             |

### data

```csharp
public ByteList data
```

Returns

| Type                        | Description |
| --------------------------- | ----------- |
| [ByteList](./core_bytelist) |             |
