A binding composite arranges several bindings such that they form a "virtual control".
Inheritance
System.Object
InputBindingComposite<TValue>
public abstract class InputBindingComposite<TValue> : InputBindingComposite where TValue : struct
Type Parameters
Name |
Description |
TValue |
Type of value computed by the composite.
|
// A composite that uses two buttons to emulate a radial dial control.
// Yields values in degrees.
class ButtonDialComposite : InputBindingComposite<float>
{
////TODO
}
Properties
Declaration
public override int valueSizeInBytes { get; }
Property Value
Type |
Description |
System.Int32 |
|
Overrides
Declaration
public override Type valueType { get; }
Property Value
Type |
Description |
System.Type |
|
Overrides
Methods
ReadValue(ref InputBindingCompositeContext)
Declaration
public abstract TValue ReadValue(ref InputBindingCompositeContext context)
Parameters
Returns
ReadValue(ref InputBindingCompositeContext, Void*, Int32)
Declaration
public override void ReadValue(ref InputBindingCompositeContext context, void *buffer, int bufferSize)
Parameters
Overrides
ReadValueAsObject(ref InputBindingCompositeContext)
Declaration
public override object ReadValueAsObject(ref InputBindingCompositeContext context)
Parameters
Returns
Type |
Description |
System.Object |
|
Overrides