# IntegerOptions

int・longの補間結果を整数へ戻すときの丸め規則を指定します。

Namespace: MeatMotion

Assembly: MeatMotion

```csharp
public struct IntegerOptions : IMotionOptions, IEquatable<IntegerOptions>
```

[Runtime/Adapters/BuiltIn/IntegerOptions.cs · L7](../../source/Runtime/Adapters/BuiltIn/IntegerOptions.cs.html#L7)

## RoundingMode

アダプターが補間の結果を整数へ戻すときの丸め規則です。

```csharp
public RoundingMode RoundingMode;
```

[Runtime/Adapters/BuiltIn/IntegerOptions.cs · L10](../../source/Runtime/Adapters/BuiltIn/IntegerOptions.cs.html#L10)

## Equals

同じ値を表すか比較します。

```csharp
public readonly bool Equals(IntegerOptions other)
```

引数と戻り値

- `other` (`IntegerOptions`) 等値比較の対象。
- 戻り値: `bool`

[Runtime/Adapters/BuiltIn/IntegerOptions.cs · L11](../../source/Runtime/Adapters/BuiltIn/IntegerOptions.cs.html#L11)

```csharp
public override readonly bool Equals(object obj)
```

引数と戻り値

- `obj` (`object`) 等値比較の対象。
- 戻り値: `bool`

[Runtime/Adapters/BuiltIn/IntegerOptions.cs · L12](../../source/Runtime/Adapters/BuiltIn/IntegerOptions.cs.html#L12)

## GetHashCode

等値比較に対応するハッシュコードを返します。

```csharp
public override readonly int GetHashCode()
```

戻り値

- 戻り値: `int`

[Runtime/Adapters/BuiltIn/IntegerOptions.cs · L13](../../source/Runtime/Adapters/BuiltIn/IntegerOptions.cs.html#L13)
