Class FluentCeVIOUtil
ユーティリティクラス
Namespace: FluentCeVIOWrapper.Common
Assembly: FluentCeVIOWrapper.Common.dll
Syntax
public static class FluentCeVIOUtil
Methods
GetCastIdAsync(FluentCeVIO, string?)
現在のキャストまたは指定したキャスト名からキャストIDを取得
Declaration
public static Task<string> GetCastIdAsync(this FluentCeVIO fcw, string? castName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| FluentCeVIO | fcw | |
| string | castName | キャスト名。未指定の場合は現在のキャストで取得。 |
Returns
| Type | Description |
|---|---|
| Task<string> | 内部的なキャストID文字列(CeVIO AI: |
Exceptions
| Type | Condition |
|---|---|
| NotSupportedException | CurrentProductがCeVIO_AI, CeVIO_CSでない場合は未対応 |
IsEnglishCastId(FluentCeVIO, string)
キャストIDが英語音源のものかどうか
Declaration
public static bool IsEnglishCastId(this FluentCeVIO fcw, string castId)
Parameters
| Type | Name | Description |
|---|---|---|
| FluentCeVIO | fcw | |
| string | castId | キャストID |
Returns
| Type | Description |
|---|---|
| bool |
See Also
IsEnglishCastNameAsync(FluentCeVIO, string?)
キャスト名が英語音源かどうか
Declaration
public static ValueTask<bool> IsEnglishCastNameAsync(this FluentCeVIO fcw, string? castName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| FluentCeVIO | fcw | |
| string | castName | キャスト名。未指定の場合は現在の指定されたキャストを判定します。 |
Returns
| Type | Description |
|---|---|
| ValueTask<bool> |
Remarks
キャスト名(ボイス名)から英語音源かどうかを判定します。 IDがわかっている場合は、 IsEnglishCastId(FluentCeVIO, string)の方が高速で判定します。