docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct ChatStandalonePartContext

    What renderStandalonePart is told about the part it is building.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.AppUI.UI
    Assembly: Unity.AppUI.dll
    Syntax
    public readonly struct ChatStandalonePartContext

    Constructors

    ChatStandalonePartContext(ChatMessagePart, object, bool)

    Constructs the context.

    Declaration
    public ChatStandalonePartContext(ChatMessagePart part, object result, bool isStreaming)
    Parameters
    Type Name Description
    ChatMessagePart part

    The part being rendered.

    object result

    The matching tool result, or null.

    bool isStreaming

    Whether the message is still streaming.

    Properties

    isStreaming

    Whether the message this part belongs to is still streaming.

    Declaration
    public bool isStreaming { get; }
    Property Value
    Type Description
    bool

    part

    The part pulled out of the bubble.

    Declaration
    public ChatMessagePart part { get; }
    Property Value
    Type Description
    ChatMessagePart

    result

    The tool result matching part, when it is a tool call that has one.

    Declaration
    public object result { get; }
    Property Value
    Type Description
    object
    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)