Amazon.Device.InputMapping 1.0.0
Loading...
Searching...
No Matches
Amazon.Device.InputMapping.InputAction Class Reference

An action that represents a game/app action along with the input controls to invoke that action. More...

Static Public Member Functions

static InputAction Create (string actionLabel, int uniqueId, InputControls inputControls)
 Creates a new InputAction object.
 

Properties

string ActionLabel [get]
 A human readable label for the game/app action.
 
int UniqueId [get]
 A unique id for the game action.
 
InputControls InputControls [get]
 InputControls corresponding to the action
 

Detailed Description

An action that represents a game/app action along with the input controls to invoke that action.

Member Function Documentation

◆ Create()

static InputAction Amazon.Device.InputMapping.InputAction.Create ( string  actionLabel,
int  uniqueId,
InputControls  inputControls 
)
static

Creates a new InputAction object.

Parameters
actionLabelA human readable label for the game/app action
uniqueIdA unique id for the game action
inputControlsInputControls corresponding to the action

Property Documentation

◆ ActionLabel

string Amazon.Device.InputMapping.InputAction.ActionLabel
get

A human readable label for the game/app action.

◆ InputControls

InputControls Amazon.Device.InputMapping.InputAction.InputControls
get

InputControls corresponding to the action

◆ UniqueId

int Amazon.Device.InputMapping.InputAction.UniqueId
get

A unique id for the game action.