ホーム › UI.Input.GameInput › GameInputFocusPolicy
GameInputFocusPolicy
列挙型フラグメンバー 7
| 名前 | 10進 | 16進 |
|---|---|---|
| GameInputDefaultFocusPolicy | 0 | 0x0 |
| GameInputDisableBackgroundInput | 1 | 0x1 |
| GameInputExclusiveForegroundInput | 2 | 0x2 |
| GameInputDisableBackgroundGuideButton | 4 | 0x4 |
| GameInputExclusiveForegroundGuideButton | 8 | 0x8 |
| GameInputDisableBackgroundShareButton | 16 | 0x10 |
| GameInputExclusiveForegroundShareButton | 32 | 0x20 |
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum GameInputFocusPolicy : int {
GameInputDefaultFocusPolicy = 0,
GameInputDisableBackgroundInput = 1,
GameInputExclusiveForegroundInput = 2,
GameInputDisableBackgroundGuideButton = 4,
GameInputExclusiveForegroundGuideButton = 8,
GameInputDisableBackgroundShareButton = 16,
GameInputExclusiveForegroundShareButton = 32
} GameInputFocusPolicy;[Flags]
public enum GameInputFocusPolicy : int
{
GameInputDefaultFocusPolicy = 0,
GameInputDisableBackgroundInput = 1,
GameInputExclusiveForegroundInput = 2,
GameInputDisableBackgroundGuideButton = 4,
GameInputExclusiveForegroundGuideButton = 8,
GameInputDisableBackgroundShareButton = 16,
GameInputExclusiveForegroundShareButton = 32,
}<Flags>
Public Enum GameInputFocusPolicy As Integer
GameInputDefaultFocusPolicy = 0
GameInputDisableBackgroundInput = 1
GameInputExclusiveForegroundInput = 2
GameInputDisableBackgroundGuideButton = 4
GameInputExclusiveForegroundGuideButton = 8
GameInputDisableBackgroundShareButton = 16
GameInputExclusiveForegroundShareButton = 32
End Enumimport enum
class GameInputFocusPolicy(enum.IntFlag):
GameInputDefaultFocusPolicy = 0
GameInputDisableBackgroundInput = 1
GameInputExclusiveForegroundInput = 2
GameInputDisableBackgroundGuideButton = 4
GameInputExclusiveForegroundGuideButton = 8
GameInputDisableBackgroundShareButton = 16
GameInputExclusiveForegroundShareButton = 32// GameInputFocusPolicy (flags)
pub const GameInputDefaultFocusPolicy: i32 = 0;
pub const GameInputDisableBackgroundInput: i32 = 1;
pub const GameInputExclusiveForegroundInput: i32 = 2;
pub const GameInputDisableBackgroundGuideButton: i32 = 4;
pub const GameInputExclusiveForegroundGuideButton: i32 = 8;
pub const GameInputDisableBackgroundShareButton: i32 = 16;
pub const GameInputExclusiveForegroundShareButton: i32 = 32;// GameInputFocusPolicy
const (
GameInputDefaultFocusPolicy int32 = 0
GameInputDisableBackgroundInput int32 = 1
GameInputExclusiveForegroundInput int32 = 2
GameInputDisableBackgroundGuideButton int32 = 4
GameInputExclusiveForegroundGuideButton int32 = 8
GameInputDisableBackgroundShareButton int32 = 16
GameInputExclusiveForegroundShareButton int32 = 32
)const
GameInputDefaultFocusPolicy = 0;
GameInputDisableBackgroundInput = 1;
GameInputExclusiveForegroundInput = 2;
GameInputDisableBackgroundGuideButton = 4;
GameInputExclusiveForegroundGuideButton = 8;
GameInputDisableBackgroundShareButton = 16;
GameInputExclusiveForegroundShareButton = 32;// GameInputFocusPolicy
pub const GameInputDefaultFocusPolicy: i32 = 0;
pub const GameInputDisableBackgroundInput: i32 = 1;
pub const GameInputExclusiveForegroundInput: i32 = 2;
pub const GameInputDisableBackgroundGuideButton: i32 = 4;
pub const GameInputExclusiveForegroundGuideButton: i32 = 8;
pub const GameInputDisableBackgroundShareButton: i32 = 16;
pub const GameInputExclusiveForegroundShareButton: i32 = 32;const
GameInputDefaultFocusPolicy* = 0
GameInputDisableBackgroundInput* = 1
GameInputExclusiveForegroundInput* = 2
GameInputDisableBackgroundGuideButton* = 4
GameInputExclusiveForegroundGuideButton* = 8
GameInputDisableBackgroundShareButton* = 16
GameInputExclusiveForegroundShareButton* = 32enum GameInputFocusPolicy : int {
GameInputDefaultFocusPolicy = 0,
GameInputDisableBackgroundInput = 1,
GameInputExclusiveForegroundInput = 2,
GameInputDisableBackgroundGuideButton = 4,
GameInputExclusiveForegroundGuideButton = 8,
GameInputDisableBackgroundShareButton = 16,
GameInputExclusiveForegroundShareButton = 32,
}#define global GameInputDefaultFocusPolicy 0x0
#define global GameInputDisableBackgroundInput 0x1
#define global GameInputExclusiveForegroundInput 0x2
#define global GameInputDisableBackgroundGuideButton 0x4
#define global GameInputExclusiveForegroundGuideButton 0x8
#define global GameInputDisableBackgroundShareButton 0x10
#define global GameInputExclusiveForegroundShareButton 0x20
; ※フラグ列挙型。ビットORで組み合わせ可(例: FOO|BAR)。