docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class UpdateSpatial3DAttachmentRequest

    Represents a request to update a Spatial-3D attachment

    Inheritance
    object
    UpdateSpatial3DAttachmentRequest
    Implements
    IUpdateSpatial3DAttachmentRequest
    IUpdateAttachmentRequest
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Cloud.Collaboration.Models.AttachmentRequest
    Assembly: Unity.Cloud.Collaboration.dll
    Syntax
    public class UpdateSpatial3DAttachmentRequest : IUpdateSpatial3DAttachmentRequest, IUpdateAttachmentRequest

    Constructors

    UpdateSpatial3DAttachmentRequest(string, SpatialPosition?, ICameraDetails, Dictionary<string, object>, TimeDetails?, ILocalSpaceDetails)

    Initializes a new instance of the UpdateSpatial3DAttachmentRequest class with the specified label, position, camera details, metadata, time, and local space details.

    Declaration
    public UpdateSpatial3DAttachmentRequest(string label = null, SpatialPosition? position = null, ICameraDetails camera = null, Dictionary<string, object> metadata = null, TimeDetails? time = null, ILocalSpaceDetails local = null)
    Parameters
    Type Name Description
    string label

    The label for the spatial-3d attachment.

    SpatialPosition? position

    The spatial position of the attachment.

    ICameraDetails camera

    The camera details associated with the attachment.

    Dictionary<string, object> metadata

    Additional metadata for the attachment.

    TimeDetails? time

    The time details for the attachment.

    ILocalSpaceDetails local

    The local space details for the attachment.

    Properties

    Camera

    Camera data structure.

    Declaration
    public ICameraDetails Camera { get; }
    Property Value
    Type Description
    ICameraDetails

    Label

    A simple label for the attachment

    Declaration
    public string Label { get; }
    Property Value
    Type Description
    string

    Local

    LocalSpace datastructure.

    Declaration
    public ILocalSpaceDetails Local { get; }
    Property Value
    Type Description
    ILocalSpaceDetails

    Metadata

    Declaration
    public Dictionary<string, object> Metadata { get; }
    Property Value
    Type Description
    Dictionary<string, object>

    Position

    The representation of the attachment position (3D).

    Declaration
    public SpatialPosition? Position { get; }
    Property Value
    Type Description
    SpatialPosition?

    Time

    Time data structure.

    Declaration
    public TimeDetails? Time { get; }
    Property Value
    Type Description
    TimeDetails?

    Type

    The type of the Attachment, this should be used to identify the specific type of Attachment given.

    Declaration
    public string Type { get; }
    Property Value
    Type Description
    string
    Examples

    "file" | "other"

    Implements

    IUpdateSpatial3DAttachmentRequest
    IUpdateAttachmentRequest
    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)