Get a Glyph to represent an action for the user.
Will pick an icon to represent the controllerType
Declaration
public static Glyph GetGlyph(this Player player, ControllerType controllerType, int actionID, Pole pole, out AxisRange axisRange, bool forceAxis = false, string collectionKey = null)
Parameters
Type |
Name |
Description |
Player |
player |
|
ControllerType |
controllerType |
|
int |
actionID |
|
Pole |
pole |
|
AxisRange |
axisRange |
|
bool |
forceAxis |
|
string |
collectionKey |
|
Returns
Declaration
public static Glyph GetGlyph(ControllerType controllerType, int actionID, Pole pole, out AxisRange axisRange, int playerIndex = 0, bool forceAxis = false, string collectionKey = null)
Parameters
Type |
Name |
Description |
ControllerType |
controllerType |
|
int |
actionID |
|
Pole |
pole |
|
AxisRange |
axisRange |
|
int |
playerIndex |
|
bool |
forceAxis |
|
string |
collectionKey |
|
Returns