Struct InputBindingCompositeContext
Contextual data made available when processing values of composite bindings.
Syntax
public struct InputBindingCompositeContext
Methods
ReadValue<TValue>(Int32)
Declaration
public TValue ReadValue<TValue>(int partNumber)
where TValue : struct, IComparable<TValue>
Parameters
Type |
Name |
Description |
System.Int32 |
partNumber |
|
Returns
Type Parameters
ReadValue<TValue>(Int32, out InputControl)
Declaration
public TValue ReadValue<TValue>(int partNumber, out InputControl sourceControl)
where TValue : struct, IComparable<TValue>
Parameters
Type |
Name |
Description |
System.Int32 |
partNumber |
|
InputControl |
sourceControl |
|
Returns
Type Parameters
ReadValue<TValue, TComparer>(Int32, TComparer)
Declaration
public TValue ReadValue<TValue, TComparer>(int partNumber, TComparer comparer = null)
where TValue : struct where TComparer : IComparer<TValue>
Parameters
Type |
Name |
Description |
System.Int32 |
partNumber |
|
TComparer |
comparer |
|
Returns
Type Parameters
Name |
Description |
TValue |
|
TComparer |
|
ReadValue<TValue, TComparer>(Int32, out InputControl, TComparer)
Declaration
public TValue ReadValue<TValue, TComparer>(int partNumber, out InputControl sourceControl, TComparer comparer = null)
where TValue : struct where TComparer : IComparer<TValue>
Parameters
Type |
Name |
Description |
System.Int32 |
partNumber |
|
InputControl |
sourceControl |
|
TComparer |
comparer |
|
Returns
Type Parameters
Name |
Description |
TValue |
|
TComparer |
|
ReadValueAsButton(Int32)
Declaration
public bool ReadValueAsButton(int partNumber)
Parameters
Type |
Name |
Description |
System.Int32 |
partNumber |
|
Returns
Type |
Description |
System.Boolean |
|
See Also