InputBindingクラス
ひとことで言うと
InputBindingは、ロブロックス(Roblox)のクラスです。くわしい日本語解説は準備中のため、下に公式の説明(英語)を載せています。
公式の説明(英語):Defines which hardware binding should trigger the parent InputAction.
クラスの関係
プロパティ(22)
| 名前と書き方 | 説明 |
|---|---|
BackwardInputBinding.Backward: KeyCode | Specifies an alternate KeyCode for dispatching directionally "backward" inputs to the parent InputAction. |
ClampMagnitudeToOneInputBinding.ClampMagnitudeToOne: boolean | Specifies how the binding normalizes composite directional input to a maximum magnitude of 1. |
DisplayImageInputBinding.DisplayImage: Content | Custom image asset to display for this binding. |
DisplayNameInputBinding.DisplayName: string | Custom display text for this binding. |
DownInputBinding.Down: KeyCode | Specifies an alternate KeyCode for dispatching directionally "down" inputs to the parent InputAction. |
ForwardInputBinding.Forward: KeyCode | Specifies an alternate KeyCode for dispatching directionally "forward" inputs to the parent InputAction. |
KeyCodeInputBinding.KeyCode: KeyCode | Specifies the KeyCode which triggers the parent InputAction. |
LeftInputBinding.Left: KeyCode | Specifies an alternate KeyCode for dispatching directionally "left" inputs to the parent InputAction. |
PointerIndexInputBinding.PointerIndex: int | |
PressedThresholdInputBinding.PressedThreshold: float | Numerical value above which to fire an InputAction with a Class.InputAction.Type|Type of Enum.InputActionType|Bool. |
PrimaryModifierInputBinding.PrimaryModifier: KeyCode | Specifies a primary KeyCode that must be pressed for the binding to activate. |
ReleasedThresholdInputBinding.ReleasedThreshold: float | Numerical value below which to fire an InputAction with a Class.InputAction.Type|Type of Enum.InputActionType|Bool. |
ResponseCurveInputBinding.ResponseCurve: float | Numerical value to configure scaling for more precise thumbstick aiming. |
RightInputBinding.Right: KeyCode | Specifies an alternate KeyCode for dispatching directionally "right" inputs to the parent InputAction. |
ScaleInputBinding.Scale: float | Scalar multiplier applied uniformly to all components of a directional InputAction's output. |
SecondaryModifierInputBinding.SecondaryModifier: KeyCode | Specifies a secondary KeyCode that must be pressed for the binding to activate. |
TypeInputBinding.Type: InputBindingType | Determines whether this binding is triggered by hardware input or programmatically via Class.InputBinding:Fire()|Fire(). |
UIButtonInputBinding.UIButton: GuiButton | Connects a GuiButton to a boolean action. |
UIModifierInputBinding.UIModifier: GuiButton | Specifies a GuiButton that must be active for the binding to activate. |
UpInputBinding.Up: KeyCode | Specifies an alternate KeyCode for dispatching directionally "up" inputs to the parent InputAction. |
Vector2ScaleInputBinding.Vector2Scale: Vector2 | Per-component scale applied to the output of a Enum.InputActionType|Direction2D action. |
Vector3ScaleInputBinding.Vector3Scale: Vector3 | Per-component scale applied to the output of a Enum.InputActionType|Direction3D action. |
メソッド(1)
| 名前と書き方 | 説明 |
|---|---|
FireInputBinding:Fire(state: Variant): () | Programmatically updates the parent InputAction state through this binding. |
受け継いでいるメンバー
Instance から受け継いでいるもの(46)
Archivable・Capabilities・IsInSandbox・Name・Parent・PredictionMode・Sandboxed・AddTag・ClearAllChildren・Clone・Destroy・FindFirstAncestor・FindFirstAncestorOfClass・FindFirstAncestorWhichIsA・FindFirstChild・FindFirstChildOfClass・FindFirstChildWhichIsA・FindFirstDescendant・GetActor・GetAttribute・GetAttributeChangedSignal・GetAttributes・GetChildren・GetDebugId・GetDescendants・GetFullName・GetStyled・GetStyledPropertyChangedSignal・GetTags・HasTag・IsAncestorOf・IsDescendantOf・IsPropertyModified・QueryDescendants・RemoveTag・ResetPropertyToDefault・SetAttribute・WaitForChild・AncestryChanged・AttributeChanged・ChildAdded・ChildRemoved・DescendantAdded・DescendantRemoving・Destroying・StyledPropertiesChanged
Object から受け継いでいるもの(4)
英語の説明とメンバーの一覧は、Roblox Creator Documentation(InputBinding)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。