ActionElementMapTryGetCombinedElementIdentifierGlyph Method |
Gets the combined glyph of the element identifiers bound to the Action if available.
This can be used to get a glyph 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 glyph for D-Pad will be returned if available.
Namespace: RewiredAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static bool TryGetCombinedElementIdentifierGlyph(
IList<ActionElementMap> actionElementMaps,
out Object result
)
Parameters
- actionElementMaps IListActionElementMap
- 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 Object
- The combined element identifier glyph result.
Return Value
BooleanTrue if a result was found, false if not.
See Also