docs.unity3d.com
    Show / Hide Table of Contents

    Class AnnotationPosition

    Represents the position of an annotation in 3D space.

    Inheritance
    Object
    AnnotationPosition
    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 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.

    Extension Methods

    ModelsExtensions.ToVector3(AnnotationPosition)
    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