Interface ITopicObject
An interface that defines all the information required about an object selected for annotation.
Namespace: Unity.Cloud.Annotation.Runtime
Syntax
public interface ITopicObject
Properties
BoundingBoxes
Implement this property to return the object's bounding boxes.
Declaration
List<Bounds> BoundingBoxes { get; }
Property Value
| Type | Description |
|---|---|
| List<UnityEngine.Bounds> | The selected object's bounding boxes. |
LocalScale
Implement this property to return the object's local scale.
Declaration
Vector3 LocalScale { get; }
Property Value
| Type | Description |
|---|---|
| UnityEngine.Vector3 | The selected object's local scale. |
Position
Implement this property to return the object's position.
Declaration
Vector3 Position { get; }
Property Value
| Type | Description |
|---|---|
| UnityEngine.Vector3 | The selected object's position. |
Rotation
Implement this property to return the object's rotation.
Declaration
Quaternion Rotation { get; }
Property Value
| Type | Description |
|---|---|
| UnityEngine.Quaternion | The selected object's rotation. |