docs.unity3d.com
    Show / Hide Table of Contents

    Class AnnotationQuaternion

    Represents the rotation of an annotation in 3D space.

    Inheritance
    Object
    AnnotationQuaternion
    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 AnnotationQuaternion

    Constructors

    AnnotationQuaternion()

    Initializes and returns an instance of AnnotationQuaternion with default values.

    Declaration
    public AnnotationQuaternion()

    AnnotationQuaternion(Single, Single, Single, Single)

    Initializes and returns an instance of AnnotationQuaternion.

    Declaration
    public AnnotationQuaternion(float x, float y, float z, float w)
    Parameters
    Type Name Description
    Single x

    The X component of the quaternion.

    Single y

    The Y component of the quaternion.

    Single z

    The Z component of the quaternion.

    Single w

    The W component of the quaternion.

    Properties

    W

    Returns the W component of the quaternion.

    Declaration
    public float W { get; set; }
    Property Value
    Type Description
    Single

    The W component of the quaternion.

    X

    Returns the X component of the quaternion.

    Declaration
    public float X { get; set; }
    Property Value
    Type Description
    Single

    The X component of the quaternion.

    Y

    Returns the Y component of the quaternion.

    Declaration
    public float Y { get; set; }
    Property Value
    Type Description
    Single

    The Y component of the quaternion.

    Z

    Returns the Z component of the quaternion.

    Declaration
    public float Z { get; set; }
    Property Value
    Type Description
    Single

    The Z component of the quaternion.

    Extension Methods

    ModelsExtensions.ToQuaternion(AnnotationQuaternion)
    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