Struct QueryDimensionsCommand
Query dimensions of a device.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: UnityEngine.Experimental.Input.LowLevel
Syntax
public struct QueryDimensionsCommand : IInputDeviceCommandInfo
Remarks
This is usually used to query screen dimensions from pointer devices.
Fields
baseCommand
Declaration
public InputDeviceCommand baseCommand
Field Value
Type | Description |
---|---|
InputDeviceCommand |
kSize
Declaration
public const int kSize = 16
Field Value
Type | Description |
---|---|
System.Int32 |
outDimensions
Declaration
public Vector2 outDimensions
Field Value
Type | Description |
---|---|
Vector2 |
Properties
Type
Declaration
public static FourCC Type { get; }
Property Value
Type | Description |
---|---|
FourCC |
Methods
Create()
Declaration
public static QueryDimensionsCommand Create()
Returns
Type | Description |
---|---|
QueryDimensionsCommand |
GetTypeStatic()
Declaration
public FourCC GetTypeStatic()
Returns
Type | Description |
---|---|
FourCC |