docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ActiveToolData

    Active tool information data structure.

    Inheritance
    object
    ActiveToolData
    Implements
    IEquatable<ActiveToolData>
    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 ActiveToolData : IEquatable<ActiveToolData>

    Properties

    ActiveTool

    Gets or sets the name of the active tool.

    Declaration
    [McpDescription("Name of the active tool")]
    public string ActiveTool { get; set; }
    Property Value
    Type Description
    string

    HandlePosition

    Gets or sets the handle position.

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

    HandleRotation

    Gets or sets the handle rotation as euler angles.

    Declaration
    [McpDescription("Handle rotation as euler angles")]
    public float[] HandleRotation { get; set; }
    Property Value
    Type Description
    float[]

    IsCustom

    Gets or sets whether a custom tool is active.

    Declaration
    [McpDescription("Whether a custom tool is active")]
    public bool IsCustom { get; set; }
    Property Value
    Type Description
    bool

    PivotMode

    Gets or sets the pivot mode setting.

    Declaration
    [McpDescription("Pivot mode setting")]
    public string PivotMode { get; set; }
    Property Value
    Type Description
    string

    PivotRotation

    Gets or sets the pivot rotation setting.

    Declaration
    [McpDescription("Pivot rotation setting")]
    public string PivotRotation { get; set; }
    Property Value
    Type Description
    string

    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)