Click or drag to resize

IControllerTemplateAxis Interface

Interface for a Controller Template Axis. An Axis has a floating-point value. An Axis consists of two poles, positive and negative.

Namespace: Rewired
Assembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public interface IControllerTemplateAxis : IControllerTemplateElement

The IControllerTemplateAxis type exposes the following members.

Properties
 NameDescription
Public propertyAsButton Gets the element cast to IControllerTemplateButton.
Public propertydescriptiveName Display name of the Controller Template Element. The returned value will be localized if localization is in use.
(Inherited from IControllerTemplateElement)
Public propertyexists Does the Element exist in the parent Controller?
(Inherited from IControllerTemplateElement)
Public propertyid Id of the Controller Template Element.
(Inherited from IControllerTemplateElement)
Public propertynegativeDescriptiveName Display name of the Controller Template Element for the negative axis. This will return the Positive or Negative Descriptive Name or the Descriptive Name with a +/- suffix. The returned value will be localized if localization is in use.
Public propertypositiveDescriptiveName Display name of the Controller Template Element for the positive axis. This will return the Positive or Negative Descriptive Name or the Descriptive Name with a +/- suffix. The returned value will be localized if localization is in use.
Public propertysource The Controller element source.
Public propertytype Type of the Controller Template Element.
(Inherited from IControllerTemplateElement)
Public propertyvalue The current value of the axis.
Public propertyvaluePrev The value of the axis in the previous frame.
Top
Methods
 NameDescription
Public methodGetDescriptiveName Gets the display name of the Controller Template Element for the specified axis range. For one pole of the axis, this will return the Positive or Negative Descriptive Name or the Descriptive Name with a +/- suffix. The returned value will be localized if localization is in use.
Top
See Also