# InputBinding(ロブロックス クラス) > Defines which hardware binding should trigger the parent InputAction. - URL:https://roblox.minecraft-okinawa.com/reference/classes/InputBinding/ - 公式:https://create.roblox.com/docs/reference/engine/classes/InputBinding - 受け継いでいるクラス:Instance ## プロパティ - `InputBinding.Backward: KeyCode`:Specifies an alternate KeyCode for dispatching directionally "backward" inputs to the parent InputAction. - `InputBinding.ClampMagnitudeToOne: boolean`:Specifies how the binding normalizes composite directional input to a maximum magnitude of 1. - `InputBinding.DisplayImage: Content`:Custom image asset to display for this binding. - `InputBinding.DisplayName: string`:Custom display text for this binding. - `InputBinding.Down: KeyCode`:Specifies an alternate KeyCode for dispatching directionally "down" inputs to the parent InputAction. - `InputBinding.Forward: KeyCode`:Specifies an alternate KeyCode for dispatching directionally "forward" inputs to the parent InputAction. - `InputBinding.KeyCode: KeyCode`:Specifies the KeyCode which triggers the parent InputAction. - `InputBinding.Left: KeyCode`:Specifies an alternate KeyCode for dispatching directionally "left" inputs to the parent InputAction. - `InputBinding.PointerIndex: int`: - `InputBinding.PressedThreshold: float`:Numerical value above which to fire an InputAction with a Class.InputAction.Type|Type of Enum.InputActionType|Bool. - `InputBinding.PrimaryModifier: KeyCode`:Specifies a primary KeyCode that must be pressed for the binding to activate. - `InputBinding.ReleasedThreshold: float`:Numerical value below which to fire an InputAction with a Class.InputAction.Type|Type of Enum.InputActionType|Bool. - `InputBinding.ResponseCurve: float`:Numerical value to configure scaling for more precise thumbstick aiming. - `InputBinding.Right: KeyCode`:Specifies an alternate KeyCode for dispatching directionally "right" inputs to the parent InputAction. - `InputBinding.Scale: float`:Scalar multiplier applied uniformly to all components of a directional InputAction's output. - `InputBinding.SecondaryModifier: KeyCode`:Specifies a secondary KeyCode that must be pressed for the binding to activate. - `InputBinding.Type: InputBindingType`:Determines whether this binding is triggered by hardware input or programmatically via Class.InputBinding:Fire()|Fire(). - `InputBinding.UIButton: GuiButton`:Connects a GuiButton to a boolean action. - `InputBinding.UIModifier: GuiButton`:Specifies a GuiButton that must be active for the binding to activate. - `InputBinding.Up: KeyCode`:Specifies an alternate KeyCode for dispatching directionally "up" inputs to the parent InputAction. - `InputBinding.Vector2Scale: Vector2`:Per-component scale applied to the output of a Enum.InputActionType|Direction2D action. - `InputBinding.Vector3Scale: Vector3`:Per-component scale applied to the output of a Enum.InputActionType|Direction3D action. ## メソッド - `InputBinding:Fire(state: Variant): ()`:Programmatically updates the parent InputAction state through this binding. 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)