Struct QueryDimensionsCommand
Query dimensions of a device.
Namespace: UnityEngine.InputSystem.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 |
outDimensions
Declaration
public Vector2 outDimensions
Field Value
Type | Description |
---|---|
Vector2 |
Properties
Type
Declaration
public static FourCC Type { get; }
Property Value
Type | Description |
---|---|
FourCC |
typeStatic
Declaration
public FourCC typeStatic { get; }
Property Value
Type | Description |
---|---|
FourCC |
Implements
Methods
Create()
Declaration
public static QueryDimensionsCommand Create()
Returns
Type | Description |
---|---|
QueryDimensionsCommand |