Click or drag to resize

IControllerTemplateButton Interface

Interface for a Controller Template Button. A Button has an on/off value and optionally a pressure value.

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

The IControllerTemplateButton type exposes the following members.

Properties
  NameDescription
Public propertyAsAxis
Gets the element cast to IControllerTemplateAxis.
Public propertydescriptiveName
Display name of the Controller Template Element.
(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 propertyjustChangedState
Returns true if the button was just pressed or just released. Returns true for only one frame.
Public propertyjustPressed
Was this button just pressed this frame? Returns true for only one frame.
Public propertyjustReleased
Was this button just released this frame? Returns true for only one frame.
Public propertypressure
The current pressure of the button.
Public propertypressurePrev
The pressure of the button in the previous frame.
Public propertysource
The Controller element source.
Public propertytype
Type of the Controller Template Element.
(Inherited from IControllerTemplateElement.)
Public propertyvalue
The current value of the button.
Public propertyvaluePrev
The value of the button in the previous frame.
Top
See Also