Class AnnotationPosition
Represents the position of an annotation in 3D space.
Inherited Members
Namespace: Unity.Cloud.Annotation
Syntax
public class AnnotationPosition
Constructors
AnnotationPosition()
Initializes and returns an instance of AnnotationPosition with default values.
Declaration
public AnnotationPosition()
AnnotationPosition(Single, Single, Single)
Initializes and returns an instance of AnnotationPosition.
Declaration
public AnnotationPosition(float x, float y, float z)
Parameters
| Type | Name | Description |
|---|---|---|
| Single | x | The X component of the position. |
| Single | y | The Y component of the position. |
| Single | z | The Z component of the position. |
Properties
X
Returns the X component of the position.
Declaration
public float X { get; set; }
Property Value
| Type | Description |
|---|---|
| Single | The X component of the position. |
Y
Returns the Y component of the position.
Declaration
public float Y { get; set; }
Property Value
| Type | Description |
|---|---|
| Single | The Y component of the position. |
Z
Returns the Z component of the position.
Declaration
public float Z { get; set; }
Property Value
| Type | Description |
|---|---|
| Single | The Z component of the position. |