Interface ICreateSpatial3DAttachmentRequest
An interface for request to create a new annotation Spatial-3D attachment
Namespace: Unity.Cloud.Collaboration.Models.AttachmentRequest
Assembly: Unity.Cloud.Collaboration.dll
Syntax
public interface ICreateSpatial3DAttachmentRequest : ICreateAttachmentRequest
Properties
Camera
Camera data structure.
Declaration
[DataMember(Name = "camera", EmitDefaultValue = true, IsRequired = true)]
ICameraDetails Camera { get; }
Property Value
| Type | Description |
|---|---|
| ICameraDetails |
Label
A simple label for the attachment
Declaration
[DataMember(Name = "label", EmitDefaultValue = true, IsRequired = true)]
string Label { get; }
Property Value
| Type | Description |
|---|---|
| string |
Local
LocalSpace datastructure.
Declaration
[DataMember(Name = "local", EmitDefaultValue = true)]
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
ILocalSpaceDetails Local { get; }
Property Value
| Type | Description |
|---|---|
| ILocalSpaceDetails |
Position
The representation of the attachment position (3D).
Declaration
[DataMember(Name = "position", EmitDefaultValue = true, IsRequired = true)]
SpatialPosition Position { get; }
Property Value
| Type | Description |
|---|---|
| SpatialPosition |
Time
Time data structure.
Declaration
[DataMember(Name = "time", EmitDefaultValue = true)]
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
TimeDetails? Time { get; }
Property Value
| Type | Description |
|---|---|
| TimeDetails? |