InputBindingクラス

クラス日本語解説は準備中

ひとことで言うと

InputBindingは、ロブロックス(Roblox)のクラスです。くわしい日本語解説は準備中のため、下に公式の説明(英語)を載せています。

公式の説明(英語):Defines which hardware binding should trigger the parent InputAction.

クラスの関係

受け継いでいるクラス:Object → Instance → InputBinding

プロパティ(22)

名前と書き方説明
Backward
InputBinding.Backward: KeyCode
Specifies an alternate KeyCode for dispatching directionally "backward" inputs to the parent InputAction.
ClampMagnitudeToOne
InputBinding.ClampMagnitudeToOne: boolean
Specifies how the binding normalizes composite directional input to a maximum magnitude of 1.
DisplayImage
InputBinding.DisplayImage: Content
Custom image asset to display for this binding.
DisplayName
InputBinding.DisplayName: string
Custom display text for this binding.
Down
InputBinding.Down: KeyCode
Specifies an alternate KeyCode for dispatching directionally "down" inputs to the parent InputAction.
Forward
InputBinding.Forward: KeyCode
Specifies an alternate KeyCode for dispatching directionally "forward" inputs to the parent InputAction.
KeyCode
InputBinding.KeyCode: KeyCode
Specifies the KeyCode which triggers the parent InputAction.
Left
InputBinding.Left: KeyCode
Specifies an alternate KeyCode for dispatching directionally "left" inputs to the parent InputAction.
PointerIndex
InputBinding.PointerIndex: int
PressedThreshold
InputBinding.PressedThreshold: float
Numerical value above which to fire an InputAction with a Class.InputAction.Type|Type of Enum.InputActionType|Bool.
PrimaryModifier
InputBinding.PrimaryModifier: KeyCode
Specifies a primary KeyCode that must be pressed for the binding to activate.
ReleasedThreshold
InputBinding.ReleasedThreshold: float
Numerical value below which to fire an InputAction with a Class.InputAction.Type|Type of Enum.InputActionType|Bool.
ResponseCurve
InputBinding.ResponseCurve: float
Numerical value to configure scaling for more precise thumbstick aiming.
Scale
InputBinding.Scale: float
Scalar multiplier applied uniformly to all components of a directional InputAction's output.
SecondaryModifier
InputBinding.SecondaryModifier: KeyCode
Specifies a secondary KeyCode that must be pressed for the binding to activate.
Type
InputBinding.Type: InputBindingType
Determines whether this binding is triggered by hardware input or programmatically via Class.InputBinding:Fire()|Fire().
UIButton
InputBinding.UIButton: GuiButton
Connects a GuiButton to a boolean action.
UIModifier
InputBinding.UIModifier: GuiButton
Specifies a GuiButton that must be active for the binding to activate.
Up
InputBinding.Up: KeyCode
Specifies an alternate KeyCode for dispatching directionally "up" inputs to the parent InputAction.
Vector2Scale
InputBinding.Vector2Scale: Vector2
Per-component scale applied to the output of a Enum.InputActionType|Direction2D action.
Vector3Scale
InputBinding.Vector3Scale: Vector3
Per-component scale applied to the output of a Enum.InputActionType|Direction3D action.

メソッド(1)

名前と書き方説明
Fire
InputBinding: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)

ClassName・GetPropertyChangedSignal・IsA・Changed

英語の説明とメンバーの一覧は、Roblox Creator Documentation(InputBinding)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。

執筆:鈴木孝昌官公庁のWeb・システム開発を担当する現役プロジェクトマネージャー。沖縄マイクラ部 クロスウェーブで、ロブロックス(Roblox)・マインクラフト(マイクラ)・Scratchなどのプログラミングを指導。マイクラカップ沖縄代表チームを指導(第6回・第7回、第7回TBS賞)。
沖縄マイクラ部で、子どもたちにロブロックス(Roblox)やマインクラフト(マイクラ)のプログラミングを教えています。プロフィールと編集方針
Instagramで教室の様子を見る
noteで記事を読む