Class TopicUpdate
Provides the information to update for a specific topic ID.
Inherited Members
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
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
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
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
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
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
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
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
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
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. |