# ResizeByMaximumSizeOptions

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

```csharp
[Serializable]
public struct ResizeByMaximumSizeOptions
```

## Constructors

### ResizeByMaximumSizeOptions(ResizeByMaximumSizeOptions)

```csharp
public ResizeByMaximumSizeOptions(ResizeByMaximumSizeOptions o)
```

Parameters

| Type                                                             | Name | Description |
| ---------------------------------------------------------------- | ---- | ----------- |
| [ResizeByMaximumSizeOptions](./scene_resizebymaximumsizeoptions) | o    |             |

## Fields

### TextureSize

```csharp
public int TextureSize
```

Returns

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

### KeepTextureRatio

```csharp
public bool KeepTextureRatio
```

Returns

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