Struct Size | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Struct Size

    Namespace: PDNWrapper
    Syntax
    public struct Size

    Constructors

    Size(Int32, Int32)

    Declaration
    public Size(int width, int height)
    Parameters
    Type Name Description
    System.Int32 width
    System.Int32 height

    Fields

    Empty

    Declaration
    public static readonly Size Empty
    Field Value
    Type Description
    Size

    Properties

    Height

    Declaration
    public int Height { get; set; }
    Property Value
    Type Description
    System.Int32

    IsEmpty

    Declaration
    public bool IsEmpty { get; }
    Property Value
    Type Description
    System.Boolean

    Width

    Declaration
    public int Width { get; set; }
    Property Value
    Type Description
    System.Int32
    Back to top
    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