docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CustomResolutionFields

    This class is used to specify the custom resolution settings for a test.

    Inheritance
    object
    CustomResolutionFields
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.TestTools.Graphics
    Assembly: UnityEngine.TestTools.Graphics.dll
    Syntax
    [Serializable]
    public class CustomResolutionFields

    Fields

    height

    The resolution height.

    Declaration
    [FormerlySerializedAs("Height")]
    public int height
    Field Value
    Type Description
    int

    isFullScreen

    Whether the resolution is fullscreen or not.

    Declaration
    public bool isFullScreen
    Field Value
    Type Description
    bool

    platform

    The platform for which the resolution is set.

    Declaration
    [FormerlySerializedAs("Platform")]
    public RuntimePlatform platform
    Field Value
    Type Description
    RuntimePlatform

    width

    The resolution width.

    Declaration
    [FormerlySerializedAs("Width")]
    public int width
    Field Value
    Type Description
    int
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)