# StringOptions

FixedStringを補間するときのスクランブル文字、乱数シード、リッチテキストの処理を指定します。

Namespace: MeatMotion

Assembly: MeatMotion

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

[Runtime/Adapters/Strings/StringMotion.cs · L9](../../source/Runtime/Adapters/Strings/StringMotion.cs.html#L9)

## ScrambleMode

未確定の文字をどの集合から選ぶかを指定します。

```csharp
public ScrambleMode ScrambleMode;
```

[Runtime/Adapters/Strings/StringMotion.cs · L12](../../source/Runtime/Adapters/Strings/StringMotion.cs.html#L12)

## RichTextEnabled

文字列補間でリッチテキストのタグを扱うかを指定します。

```csharp
public bool RichTextEnabled;
```

[Runtime/Adapters/Strings/StringMotion.cs · L13](../../source/Runtime/Adapters/Strings/StringMotion.cs.html#L13)

## CustomScrambleChars

Customモードで未確定部分を埋めるFixedString64Bytesの文字集合です。

```csharp
public FixedString64Bytes CustomScrambleChars;
```

[Runtime/Adapters/Strings/StringMotion.cs · L14](../../source/Runtime/Adapters/Strings/StringMotion.cs.html#L14)

## RandomSeed

疑似乱数生成に使用するシード値です。

```csharp
public uint RandomSeed;
```

[Runtime/Adapters/Strings/StringMotion.cs · L15](../../source/Runtime/Adapters/Strings/StringMotion.cs.html#L15)

## Equals

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

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

引数と戻り値

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

[Runtime/Adapters/Strings/StringMotion.cs · L17](../../source/Runtime/Adapters/Strings/StringMotion.cs.html#L17)

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

引数と戻り値

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

[Runtime/Adapters/Strings/StringMotion.cs · L20](../../source/Runtime/Adapters/Strings/StringMotion.cs.html#L20)

## GetHashCode

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

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

戻り値

- 戻り値: `int`

[Runtime/Adapters/Strings/StringMotion.cs · L21](../../source/Runtime/Adapters/Strings/StringMotion.cs.html#L21)
