Click or drag to resize

ControllerElementIdentifier Class

Represents a single element on a controller. Used to identify physical elements on controllers by type and name.
Inheritance Hierarchy
SystemObject
  RewiredControllerElementIdentifier

Namespace: Rewired
Assembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
[SerializableAttribute]
public sealed class ControllerElementIdentifier

The ControllerElementIdentifier type exposes the following members.

Constructors
Properties
 NameDescription
Public propertycompoundElementType If this element identifier is a compound element, the type of compound element it represents.
Public propertyelementType The controller element type this element identifier represents.
Public propertyglyph The glyph for the element identifier. This will only return a glyph if a glyph provider is in use and a glyph has been defined for this element identifier.
Public propertyid 
Public propertykey The key of the element identifier. This is used for localization and glyph lookup.
Public propertyname The name of the element identifier. The returned value will be localized if localization is in use.
Public propertynegativeGlyph The glyph for the negative axis of the element identifier. This will only return a glyph if a glyph provider is in use and a glyph has been defined for this element identifier.
Public propertynegativeKey The key of the negative axis of the element identifier, if any. This is used for localization and glyph lookup.
Public propertynegativeName The name of the negative axis of the element identifier, if any. If this is an axis element and no negative name was defined, name will be returned with a - suffix appended. The returned value will be localized if localization is in use.
Public propertypositiveGlyph The glyph for the positive axis of the element identifier. This will only return a glyph if a glyph provider is in use and a glyph has been defined for this element identifier.
Public propertypositiveKey The key of the positive axis of the element identifier, if any. This is used for localization and glyph lookup.
Public propertypositiveName The name of the positive axis of the element identifier, if any. If this is an axis element and no positive name was defined, name will be returned with a + suffix appended. The returned value will be localized if localization is in use.
Public propertyrole The role of this element.
Top
Methods
 NameDescription
Public methodClone 
Public methodGetDisplayName(AxisRange) Gets the display name for the specified range. The returned value will be localized if localization is in use.
Public methodGetDisplayName(ControllerElementType, AxisRange) Gets the display name for the specified element type and range. The returned value will be localized if localization is in use.
Public methodGetFinalGlyphKey(AxisRange) Gets the full glyph key path for the specified range. This will only return a value if a glyph was found.
Public methodGetFinalGlyphKey(ControllerElementType, AxisRange) Gets the full glyph key path for the specified element type and range. This will only return a value if a glyph was found.
Public methodGetGlyph(AxisRange) Gets the glyph for the specified range.
Public methodGetGlyph(ControllerElementType, AxisRange) Gets the glyph for the specified element type and range.
Top
See Also