docs.unity3d.com
    Show / Hide Table of Contents

    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.

    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