|
UniWindowController 0.8.2
https://github.com/kirurobo/uniWindowController/
|
Unified window controller for Windows / Mac More...
Public Types | |
| enum | TransparentType : int { None = 0 , Alpha = 1 , ColorKey = 2 } |
| The same as UniWinCore.TransparentType | |
| enum | HitTestType : int { None = 0 , Opacity = 1 , Raycast = 2 } |
| Scecifies method to hit-test (i.e., switching click-through) | |
| enum | WindowStateEventType : int { None = 0 , StyleChanged = 1 , Resized = 2 , OrderChanged = 4 } |
| Identifies the type of OnStateChanged event when it occurs | |
Public Member Functions | |
| delegate void | OnStateChangedDelegate (WindowStateEventType type) |
| delegate void | FilesDelegate (string[] files) |
| delegate void | OnMonitorChangedDelegate () |
| void | SetTransparentType (TransparentType type) |
| 透過方法を変更 More... | |
| int | GetMonitorCount () |
| 接続されているモニタ数を取得 More... | |
| void | Focus () |
| 自分のウィンドウにフォーカスを与える | |
| int | GetDebugInfo () |
| デバッグ専用。その都度参考となる情報を受けるための関数 More... | |
Public Attributes | |
| bool | isHitTestEnabled = true |
| クリックスルー自動判定を行うか 行なわない場合は isClickThrough を自分で変更可 | |
| HitTestType | hitTestType = HitTestType.Opacity |
| クリックスルー自動判定の方法 | |
| float | opacityThreshold = 0.1f |
| クリックスルー判定方法が不透明度の場合に使うしきい値 カーソル下のアルファがこの値以上ならヒットとなる | |
| bool | autoSwitchCameraBackground = true |
| trueにしておくと、ウィンドウ透過時にカメラ背景を単色の黒透明に自動で変更します | |
| bool | forceWindowed = false |
| trueにしておくと、起動時にフルスクリーンだった場合は強制的に解除します More... | |
| TransparentType | transparentType = TransparentType.Alpha |
| 透過方式の指定 | |
| Color32 | keyColor = new Color32(0x01, 0x00, 0x01, 0x00) |
| Key color used when the transparent-type is ColorKey | |
| Color | pickedColor |
| Pixel color under the mouse pointer. (Read only) | |
Unified window controller for Windows / Mac
| int Kirurobo.UniWindowController.GetDebugInfo | ( | ) |
デバッグ専用。その都度参考となる情報を受けるための関数
| int Kirurobo.UniWindowController.GetMonitorCount | ( | ) |
接続されているモニタ数を取得
| void Kirurobo.UniWindowController.SetTransparentType | ( | TransparentType | type | ) |
透過方法を変更
| type |
| bool Kirurobo.UniWindowController.forceWindowed = false |
trueにしておくと、起動時にフルスクリーンだった場合は強制的に解除します
起動時のダイアログでフルスクリーンにしてしまった場合でもウィンドウモードにするためのものです 起動時のみ働きます Macの場合、フルスクリーン状態を強制解除しても別画面になったままであまり有効ではなさそうです