IControllerTemplateButton Interface |
Namespace: Rewired
public interface IControllerTemplateButton : IControllerTemplateElement
The IControllerTemplateButton type exposes the following members.
Name | Description | |
---|---|---|
AsAxis |
Gets the element cast to IControllerTemplateAxis.
| |
descriptiveName |
Display name of the Controller Template Element.
The returned value will be localized if localization is in use.
(Inherited from IControllerTemplateElement.) | |
exists |
Does the Element exist in the parent Controller?
(Inherited from IControllerTemplateElement.) | |
id |
Id of the Controller Template Element.
(Inherited from IControllerTemplateElement.) | |
justChangedState |
Returns true if the button was just pressed or just released. Returns true for only one frame.
| |
justPressed |
Was this button just pressed this frame? Returns true for only one frame.
| |
justReleased |
Was this button just released this frame? Returns true for only one frame.
| |
pressure |
The current pressure of the button.
| |
pressurePrev |
The pressure of the button in the previous frame.
| |
source |
The Controller element source.
| |
type |
Type of the Controller Template Element.
(Inherited from IControllerTemplateElement.) | |
value |
The current value of the button.
| |
valuePrev |
The value of the button in the previous frame.
|