docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ManageShaderParams

    Parameters for the Unity.ManageShader tool.

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

    Properties

    Action

    Gets or sets the operation to perform.

    Declaration
    [McpDescription("Operation to perform", Required = true)]
    public ShaderAction Action { get; set; }
    Property Value
    Type Description
    ShaderAction

    Contents

    Gets or sets the shader contents (plain text).

    Declaration
    [McpDescription("Shader contents (plain text)", Required = false)]
    public string Contents { get; set; }
    Property Value
    Type Description
    string

    ContentsEncoded

    Gets or sets whether contents are base64 encoded.

    Declaration
    [McpDescription("Whether contents are base64 encoded", Required = false)]
    public bool ContentsEncoded { get; set; }
    Property Value
    Type Description
    bool

    EncodedContents

    Gets or sets the base64 encoded shader contents.

    Declaration
    [McpDescription("Base64 encoded shader contents", Required = false)]
    public string EncodedContents { get; set; }
    Property Value
    Type Description
    string

    Name

    Gets or sets the shader name (without .shader extension).

    Declaration
    [McpDescription("Shader name (without .shader extension)", Required = true)]
    public string Name { get; set; }
    Property Value
    Type Description
    string

    Path

    Gets or sets the relative path under Assets/.

    Declaration
    [McpDescription("Relative path under Assets/", Required = false)]
    public string Path { 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)