docs.unity3d.com
    Show / Hide Table of Contents

    Class TopicUpdate

    Provides the information to update for a specific topic ID.

    Inheritance
    Object
    TopicUpdate
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Cloud.Annotation
    Syntax
    public class TopicUpdate : ITopicUpdate

    Constructors

    TopicUpdate()

    Initializes and returns an instance of TopicUpdate.

    Declaration
    [Obsolete("Use TopicUpdate(ITopic topic) instead.")]
    public TopicUpdate()

    TopicUpdate(ITopic)

    Initializes and returns an instance of TopicUpdate.

    Declaration
    public TopicUpdate(ITopic topic)
    Parameters
    Type Name Description
    ITopic topic

    The topic to copy data from.

    Properties

    Description

    Returns the description of the updated topic.

    Declaration
    public string Description { get; set; }
    Property Value
    Type Description
    String

    The description of the updated topic.

    Implements
    ITopicUpdate.Description

    Id

    Returns the ID of the updated topic.

    Declaration
    public Guid Id { get; set; }
    Property Value
    Type Description
    Guid

    The ID of the updated topic.

    Implements
    ITopicUpdate.Id

    InstanceId

    Returns the instance ID of the object that the updated topic is associated with.

    Declaration
    public string InstanceId { get; set; }
    Property Value
    Type Description
    String

    The instance ID of the object that the updated topic is associated with.

    Implements
    ITopicUpdate.InstanceId

    LocalCameraTransform

    Returns the local transform of the camera that looks at the updated topic.

    Declaration
    public AnnotationTransform LocalCameraTransform { get; set; }
    Property Value
    Type Description
    AnnotationTransform

    The local transform of the camera that looks at the updated topic.

    Implements
    ITopicUpdate.LocalCameraTransform

    LocalTransform

    Returns the local transform of the updated topic relative to the associated object.

    Declaration
    public AnnotationTransform LocalTransform { get; set; }
    Property Value
    Type Description
    AnnotationTransform

    The local transform of the updated topic relative to the associated object.

    Implements
    ITopicUpdate.LocalTransform

    MarkAsRead

    Returns whether to mark the updated topic as read.

    Declaration
    public bool MarkAsRead { get; set; }
    Property Value
    Type Description
    Boolean

    Whether to mark the updated topic as read.

    Implements
    ITopicUpdate.MarkAsRead
    Remarks

    If true, the updated topic is marked as read. If false, the updated topic isn't marked.

    State

    Returns the state of the updated topic.

    Declaration
    public TopicState State { get; set; }
    Property Value
    Type Description
    TopicState

    The state of the updated topic.

    Implements
    ITopicUpdate.State

    Title

    Returns the title of the updated topic.

    Declaration
    public string Title { get; set; }
    Property Value
    Type Description
    String

    The title of the updated topic.

    Implements
    ITopicUpdate.Title

    WorldCameraTransform

    Returns the world transform of the camera that looks at the updated topic.

    Declaration
    public AnnotationTransform WorldCameraTransform { get; set; }
    Property Value
    Type Description
    AnnotationTransform

    The world transform of the camera that looks at the updated topic.

    Implements
    ITopicUpdate.WorldCameraTransform

    WorldTransform

    Returns the world transform of the updated topic.

    Declaration
    public AnnotationTransform WorldTransform { get; set; }
    Property Value
    Type Description
    AnnotationTransform

    The world transform of the updated topic.

    Implements
    ITopicUpdate.WorldTransform
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023