docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface ISketchAttachment

    Represents a sketch attachment with properties such as sketch data, camera data structure and file info.

    Inherited Members
    IAttachment.Type
    IAttachment.AttachmentId
    IAttachment.Metadata
    IAttachment.Created
    IAttachment.CreatedBy
    Namespace: Unity.Cloud.Collaboration.Models.Attachments
    Assembly: Unity.Cloud.Collaboration.dll
    Syntax
    public interface ISketchAttachment : IAttachment

    Properties

    Camera

    Camera data structure.

    Declaration
    [DataMember(Name = "camera", EmitDefaultValue = true, IsRequired = true)]
    ICameraDetails Camera { get; }
    Property Value
    Type Description
    ICameraDetails

    Preview

    File data for sketch attachment

    Declaration
    [DataMember(Name = "preview", EmitDefaultValue = true)]
    IFileDetails Preview { get; }
    Property Value
    Type Description
    IFileDetails

    SketchData

    The JSON data of the sketch.

    Declaration
    [DataMember(Name = "sketchData", EmitDefaultValue = true, IsRequired = true)]
    string SketchData { get; }
    Property Value
    Type Description
    string

    SketchImage

    File data for sketch attachment

    Declaration
    [DataMember(Name = "sketchImage", EmitDefaultValue = true)]
    IFileDetails SketchImage { get; }
    Property Value
    Type Description
    IFileDetails

    Time

    Time data structure.

    Declaration
    [DataMember(Name = "time", EmitDefaultValue = true)]
    TimeDetails? Time { get; }
    Property Value
    Type Description
    TimeDetails?
    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)