Class: Lumino::Config

Inherits:
Object
  • Object
show all
Defined in:
LuminoRubyDoc.rb

Overview

初期設定を行います。

Instance Method Summary (collapse)

Instance Method Details

- (Object) register_archive(filePath, password)

ファイルを開くときにアクセスする暗号化アーカイブを登録します。

Parameters:

  • filePath (String)

    アーカイブファイルパス

  • password (String)

    アーカイブファイルを開くためのパスワード



444
445
# File 'LuminoRubyDoc.rb', line 444

def register_archive
end

- (Object) set_application_log_enabled(enabled)

デバッグ用のログファイルの出力有無を設定します。(既定値:false)

Parameters:

  • enabled (Bool)

    true:出力する / false:出力しない



433
434
# File 'LuminoRubyDoc.rb', line 433

def set_application_log_enabled
end

- (Object) set_console_enabled(enabled)

標準入出力用のコンソールウィンドウを割り当てるかどうかを設定します。(既定値:false)

Parameters:

  • enabled (Bool)

    true:割り当てる / false:割り当てない



438
439
# File 'LuminoRubyDoc.rb', line 438

def set_console_enabled
end

- (Object) set_direct_music_mode(mode)

DirectMusic の初期化方法を設定します。(既定値:DirectMusicMode::NOT_USE)

 

DirectMusic の初期化には比較的時間がかかります。
これを回避するために初期化専用のスレッドで初期化を行うことが出来ます。
なお、DirectMusic を使用するためには Config.set_user_window_handle でウィンドウハンドルを設定する必要があります。

Parameters:



472
473
# File 'LuminoRubyDoc.rb', line 472

def set_direct_music_mode
end

- (Object) set_direct_music_reverb_level(level)

DirectMusic のリバーブエフェクトの強さを設定します。(既定値:0.75)

Parameters:

  • level (Float)

    リバーブの強さ (0.0 ~ 1.0)



477
478
# File 'LuminoRubyDoc.rb', line 477

def set_direct_music_reverb_level
end

- (Object) set_file_access_priority(priority)

ファイルへのアクセス優先順位を設定します。

Parameters:



449
450
# File 'LuminoRubyDoc.rb', line 449

def set_file_access_priority
end

- (Object) set_sound_cache_size(objectCount, memorySize)

サウンドオブジェクトのキャッシュサイズの設定

 

objectCount が 0 の場合、キャッシュを使用しません。
memorySize が 0 の場合、メモリ使用量に制限を設けません。

Parameters:

  • objectCount (Integer)

    キャッシュできるサウンドオブジェクトの最大数 (既定値:32)

  • memorySize (Integer)

    サウンドオブジェクトのキャッシュが使用できる最大メモリサイズ (既定値:0)



463
464
# File 'LuminoRubyDoc.rb', line 463

def set_sound_cache_size
end

- (Object) set_user_window_handle(windowHandle)

ユーザー定義のウィンドウハンドルを設定します。(既定値:nil)

Parameters:

  • windowHandle (Integer)

    ユーザー定義のウィンドウハンドル



454
455
# File 'LuminoRubyDoc.rb', line 454

def set_user_window_handle
end