KeyboardInputActionData
Inherits from InputActionData
Summary
Constructors
| KeyboardInputActionData() |
| KeyboardInputActionData(guid: Guid) |
| KeyboardInputActionData(other: InputActionData) |
| KeyboardInputActionData(other: DataContainer) |
Properties
| Name | Type |
|---|---|
| key | InputDeviceKeys |
Static members
| Name | Type |
|---|---|
| KeyboardInputActionData.typeInfo | TypeInformation |
Constructors
KeyboardInputActionData
KeyboardInputActionData()
Creates a new KeyboardInputActionData frostbite instance.
KeyboardInputActionData
KeyboardInputActionData(guid: Guid)
Creates a new KeyboardInputActionData frostbite instance and assigns it the provided Guid.
Parameters
| Name | Type | Description |
|---|---|---|
| guid | Guid | The Guid to assign to the newly created instance. |
KeyboardInputActionData
KeyboardInputActionData(other: InputActionData)
Casts an instance of type InputActionData to KeyboardInputActionData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | InputActionData | The instance to cast to KeyboardInputActionData. |
KeyboardInputActionData
KeyboardInputActionData(other: DataContainer)
Casts an instance of type DataContainer to KeyboardInputActionData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | DataContainer | The instance to cast to KeyboardInputActionData. |
Properties
key
Static members
typeInfo
The type information for the KeyboardInputActionData type.
Last modified April 26, 2020: Update frostbite type documentation (8b14351c)