docs.unity3d.com
    Show / Hide Table of Contents

    Class GfVec2h

    Inheritance
    Object
    GfVec2h
    Inherited Members
    Object.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: pxr
    Syntax
    public class GfVec2h : IDisposable

    Constructors

    GfVec2h()

    Declaration
    public GfVec2h()

    GfVec2h(GfHalf)

    Declaration
    public GfVec2h(GfHalf value)
    Parameters
    Type Name Description
    GfHalf value

    GfVec2h(GfHalf, GfHalf)

    Declaration
    public GfVec2h(GfHalf s0, GfHalf s1)
    Parameters
    Type Name Description
    GfHalf s0
    GfHalf s1

    GfVec2h(GfVec2d)

    Declaration
    public GfVec2h(GfVec2d other)
    Parameters
    Type Name Description
    GfVec2d other

    GfVec2h(GfVec2f)

    Declaration
    public GfVec2h(GfVec2f other)
    Parameters
    Type Name Description
    GfVec2f other

    GfVec2h(GfVec2i)

    Declaration
    public GfVec2h(GfVec2i other)
    Parameters
    Type Name Description
    GfVec2i other

    Fields

    dimension

    Declaration
    public static readonly uint dimension
    Field Value
    Type Description
    UInt32

    swigCMemOwn

    Declaration
    protected bool swigCMemOwn
    Field Value
    Type Description
    Boolean

    Properties

    Item[Int32]

    Declaration
    public float this[int index] { get; set; }
    Parameters
    Type Name Description
    Int32 index
    Property Value
    Type Description
    Single

    Methods

    Axis(UInt32)

    Declaration
    public static GfVec2h Axis(uint i)
    Parameters
    Type Name Description
    UInt32 i
    Returns
    Type Description
    GfVec2h

    Dispose()

    Declaration
    public virtual void Dispose()
    Implements
    IDisposable.Dispose()

    Equals(GfVec2h, GfVec2h)

    Declaration
    public static bool Equals(GfVec2h lhs, GfVec2h rhs)
    Parameters
    Type Name Description
    GfVec2h lhs
    GfVec2h rhs
    Returns
    Type Description
    Boolean

    Equals(Object)

    Declaration
    public override bool Equals(object rhs)
    Parameters
    Type Name Description
    Object rhs
    Returns
    Type Description
    Boolean
    Overrides
    Object.Equals(Object)

    Finalize()

    Declaration
    protected void Finalize()

    GetComplement(GfVec2h)

    Declaration
    public GfVec2h GetComplement(GfVec2h b)
    Parameters
    Type Name Description
    GfVec2h b
    Returns
    Type Description
    GfVec2h

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    Object.GetHashCode()

    GetLength()

    Declaration
    public GfHalf GetLength()
    Returns
    Type Description
    GfHalf

    GetLengthSq()

    Declaration
    public GfHalf GetLengthSq()
    Returns
    Type Description
    GfHalf

    GetNormalized()

    Declaration
    public GfVec2h GetNormalized()
    Returns
    Type Description
    GfVec2h

    GetNormalized(GfHalf)

    Declaration
    public GfVec2h GetNormalized(GfHalf eps)
    Parameters
    Type Name Description
    GfHalf eps
    Returns
    Type Description
    GfVec2h

    GetProjection(GfVec2h)

    Declaration
    public GfVec2h GetProjection(GfVec2h v)
    Parameters
    Type Name Description
    GfVec2h v
    Returns
    Type Description
    GfVec2h

    GetValue(Int32)

    Declaration
    protected float GetValue(int index)
    Parameters
    Type Name Description
    Int32 index
    Returns
    Type Description
    Single

    Normalize()

    Declaration
    public GfHalf Normalize()
    Returns
    Type Description
    GfHalf

    Normalize(GfHalf)

    Declaration
    public GfHalf Normalize(GfHalf eps)
    Parameters
    Type Name Description
    GfHalf eps
    Returns
    Type Description
    GfHalf

    Set(GfHalf)

    Declaration
    public GfVec2h Set(GfHalf a)
    Parameters
    Type Name Description
    GfHalf a
    Returns
    Type Description
    GfVec2h

    Set(GfHalf, GfHalf)

    Declaration
    public GfVec2h Set(GfHalf s0, GfHalf s1)
    Parameters
    Type Name Description
    GfHalf s0
    GfHalf s1
    Returns
    Type Description
    GfVec2h

    SetValue(Int32, Single)

    Declaration
    protected void SetValue(int index, float value)
    Parameters
    Type Name Description
    Int32 index
    Single value

    XAxis()

    Declaration
    public static GfVec2h XAxis()
    Returns
    Type Description
    GfVec2h

    YAxis()

    Declaration
    public static GfVec2h YAxis()
    Returns
    Type Description
    GfVec2h

    Operators

    Equality(GfVec2h, GfVec2h)

    Declaration
    public static bool operator ==(GfVec2h lhs, GfVec2h rhs)
    Parameters
    Type Name Description
    GfVec2h lhs
    GfVec2h rhs
    Returns
    Type Description
    Boolean

    Inequality(GfVec2h, GfVec2h)

    Declaration
    public static bool operator !=(GfVec2h lhs, GfVec2h rhs)
    Parameters
    Type Name Description
    GfVec2h lhs
    GfVec2h rhs
    Returns
    Type Description
    Boolean
    Back to top
    Copyright © 2023 Unity Technologies
    • 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 Thursday, October 19, 2023