docs.unity3d.com
    Show / Hide Table of Contents

    Class AnnotationTransform

    Represents the position and rotation of an annotation in 3D space.

    Inheritance
    Object
    AnnotationTransform
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Cloud.Annotation
    Syntax
    public class AnnotationTransform

    Constructors

    AnnotationTransform()

    Initializes and returns an instance of AnnotationTransform with default values.

    Declaration
    public AnnotationTransform()

    AnnotationTransform(AnnotationPosition, AnnotationQuaternion)

    Initializes and returns an instance of AnnotationTransform.

    Declaration
    public AnnotationTransform(AnnotationPosition position, AnnotationQuaternion rotation)
    Parameters
    Type Name Description
    AnnotationPosition position

    The position in 3D space.

    AnnotationQuaternion rotation

    The rotation in 3D space represented as a quaternion.

    Properties

    Position

    Returns the position in 3D space.

    Declaration
    public AnnotationPosition Position { get; set; }
    Property Value
    Type Description
    AnnotationPosition

    The position in 3D space.

    Rotation

    Returns the rotation in 3D space represented as a quaternion.

    Declaration
    public AnnotationQuaternion Rotation { get; set; }
    Property Value
    Type Description
    AnnotationQuaternion

    The rotation in 3D space represented as a quaternion.

    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