A control layout specifies the composition of an input control.
Inheritance
System.Object
InputControlLayout
Inherited Members
System.Object.ToString()
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 InputControlLayout
Fields
Declaration
public const string kNamespaceQualifier = "::"
Field Value
| Type |
Description |
| System.String |
|
The "None" layout is a reserved layout name which signals to the system
that no layout should be used (and thus no device should be created).
Declaration
public const string kNone = "None"
Field Value
| Type |
Description |
| System.String |
|
Declaration
public const char kSeparator = ','
Field Value
| Type |
Description |
| System.Char |
|
Declaration
public const string kSeparatorString = ","
Field Value
| Type |
Description |
| System.String |
|
Properties
Declaration
public IEnumerable<InternedString> appliedOverrides { get; }
Property Value
| Type |
Description |
| IEnumerable<InternedString> |
|
Declaration
public IEnumerable<InternedString> baseLayouts { get; }
Property Value
| Type |
Description |
| IEnumerable<InternedString> |
|
Declaration
public ReadOnlyArray<InternedString> commonUsages { get; }
Property Value
| Type |
Description |
| ReadOnlyArray<InternedString> |
|
Declaration
public ReadOnlyArray<InputControlLayout.ControlItem> controls { get; }
Property Value
Declaration
public static InternedString DefaultVariant { get; }
Property Value
| Type |
Description |
| InternedString |
|
Declaration
public bool isControlLayout { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Declaration
public bool isDeviceLayout { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Declaration
public InputControlLayout.ControlItem this[string path] { get; }
Parameters
| Type |
Name |
Description |
| System.String |
path |
|
Property Value
Declaration
public InternedString name { get; }
Property Value
| Type |
Description |
| InternedString |
|
Declaration
public FourCC stateFormat { get; }
Property Value
Declaration
public Type type { get; }
Property Value
Declaration
public bool updateBeforeRender { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Declaration
public InternedString variants { get; }
Property Value
| Type |
Description |
| InternedString |
|
Methods
Declaration
public InputControlLayout.ControlItem? FindControl(InternedString path)
Parameters
| Type |
Name |
Description |
| InternedString |
path |
|
Returns
Declaration
public static InputControlLayout FromJson(string json)
Parameters
| Type |
Name |
Description |
| System.String |
json |
|
Returns
Declaration
public static InputControlLayout FromType(string name, Type type)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
| Type |
type |
|
Returns
Merge the settings from other into the layout such that they become
the base settings.
Declaration
public void MergeLayout(InputControlLayout other)
Parameters
Declaration
Returns
| Type |
Description |
| System.String |
|