ActionElementMapTryGetCombinedElementIdentifierFinalGlyphKey Method |
Gets the combined final full glyph key path of the element identifiers bound to the Action if available.
This can be used to get the key for an element that doesn't actually exist but is a sub-set of element members of a Compound Element.
For example, when passing in two Action Element Maps that are bound buttons D-Pad Left and D-Pad Right, the glyph for D-Pad Horizontal will be returned if available.
When passing in four Action Element Maps that are bound to all four buttons of a D-Pad, the key for D-Pad will be returned if available.
Namespace:
Rewired
Assembly:
Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static bool TryGetCombinedElementIdentifierFinalGlyphKey(
IList<ActionElementMap> actionElementMaps,
out string result
)
Parameters
- actionElementMaps
- Type: System.Collections.GenericIListActionElementMap
The list of Action Element Maps. All Action Element Maps must be from the same Controller Map. Result will only be returned if all Action Element Maps combined match to a known glyph. - result
- Type: SystemString
The combined element identifier glyph key result.
Return Value
Type:
BooleanTrue if a result was found, false if not.
See Also