Click or drag to resize

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:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static bool TryGetCombinedElementIdentifierGlyph(
	IList<ActionElementMap> actionElementMaps,
	out Object 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: SystemObject
The combined element identifier glyph result.

Return Value

Type: Boolean
True if a result was found, false if not.
See Also