A button that is considered pressed if the underlying state has a value in the specific range.
Inheritance
System.Object
DiscreteButtonControl
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
public class DiscreteButtonControl : ButtonControl
Fields
Value (inclusive) beyond which to stop considering the button to be pressed.
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Value (inclusive) at which to start considering the button to be pressed.
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Methods
Declaration
public override float ReadUnprocessedValueFromState(void *statePtr)
Parameters
Type |
Name |
Description |
System.Void* |
statePtr |
|
Returns
Type |
Description |
System.Single |
|
Overrides
Declaration
public override void WriteValueIntoState(float value, void *statePtr)
Parameters
Type |
Name |
Description |
System.Single |
value |
|
System.Void* |
statePtr |
|
Overrides