docs.unity3d.com
    Show / Hide Table of Contents

    Struct QueryDimensionsCommand

    Query dimensions of a device.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    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 readonly FourCC Type { get; }
    Property Value
    Type Description
    FourCC

    typeStatic

    Declaration
    public readonly FourCC typeStatic { get; }
    Property Value
    Type Description
    FourCC
    Implements
    IInputDeviceCommandInfo.typeStatic

    Methods

    Create()

    Declaration
    public static QueryDimensionsCommand Create()
    Returns
    Type Description
    QueryDimensionsCommand
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023