docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class WindowPosition

    Window position and size data structure.

    Inheritance
    object
    WindowPosition
    Implements
    IEquatable<WindowPosition>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.AI.MCP.Editor.Tools.Parameters
    Assembly: Unity.AI.MCP.Editor.dll
    Syntax
    public record WindowPosition : IEquatable<WindowPosition>

    Properties

    Height

    Gets or sets the height of the window.

    Declaration
    [McpDescription("Height")]
    public float Height { get; set; }
    Property Value
    Type Description
    float

    Width

    Gets or sets the width of the window.

    Declaration
    [McpDescription("Width")]
    public float Width { get; set; }
    Property Value
    Type Description
    float

    X

    Gets or sets the X coordinate of the window.

    Declaration
    [McpDescription("X coordinate")]
    public float X { get; set; }
    Property Value
    Type Description
    float

    Y

    Gets or sets the Y coordinate of the window.

    Declaration
    [McpDescription("Y coordinate")]
    public float Y { get; set; }
    Property Value
    Type Description
    float

    Implements

    IEquatable<T>
    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)