# ReplaceByOccurrenceOptions

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

```csharp
[Serializable]
public struct ReplaceByOccurrenceOptions
```

## Constructors

### ReplaceByOccurrenceOptions(ReplaceByOccurrenceOptions)

```csharp
public ReplaceByOccurrenceOptions(ReplaceByOccurrenceOptions o)
```

Parameters

| Type                                                            | Name | Description |
| --------------------------------------------------------------- | ---- | ----------- |
| [ReplaceByOccurrenceOptions](./algo_replacebyoccurrenceoptions) | o    |             |

## Fields

### Occurrence

```csharp
public uint Occurrence
```

Returns

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

### Aligned

```csharp
public bool Aligned
```

Returns

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