# ReplaceByPrimitiveOptions

> Class

Inheritance

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

***

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

```csharp
[Serializable]
public class ReplaceByPrimitiveOptions
```

## Constructors

### ReplaceByPrimitiveOptions()

```csharp
public ReplaceByPrimitiveOptions()
```

### ReplaceByPrimitiveOptions(ReplaceByPrimitiveOptions)

```csharp
public ReplaceByPrimitiveOptions(ReplaceByPrimitiveOptions o)
```

Parameters

| Type                                                          | Name | Description |
| ------------------------------------------------------------- | ---- | ----------- |
| [ReplaceByPrimitiveOptions](./algo_replacebyprimitiveoptions) | o    |             |

## Fields

### Type

```csharp
public PrimitiveShapeParameters Type
```

Returns

| Type                                                        | Description |
| ----------------------------------------------------------- | ----------- |
| [PrimitiveShapeParameters](./algo_primitiveshapeparameters) |             |

### Aligned

```csharp
public bool Aligned
```

Returns

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

### GenerateUV

```csharp
public bool GenerateUV
```

Returns

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