docs.unity3d.com
    Show / Hide Table of Contents

    Class GfVec3h

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

    Constructors

    GfVec3h()

    Declaration
    public GfVec3h()

    GfVec3h(GfHalf)

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

    GfVec3h(GfHalf, GfHalf, GfHalf)

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

    GfVec3h(GfVec3d)

    Declaration
    public GfVec3h(GfVec3d other)
    Parameters
    Type Name Description
    GfVec3d other

    GfVec3h(GfVec3f)

    Declaration
    public GfVec3h(GfVec3f other)
    Parameters
    Type Name Description
    GfVec3f other

    GfVec3h(GfVec3i)

    Declaration
    public GfVec3h(GfVec3i other)
    Parameters
    Type Name Description
    GfVec3i 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 GfVec3h Axis(uint i)
    Parameters
    Type Name Description
    UInt32 i
    Returns
    Type Description
    GfVec3h

    BuildOrthonormalFrame(GfVec3h, GfVec3h)

    Declaration
    public void BuildOrthonormalFrame(GfVec3h v1, GfVec3h v2)
    Parameters
    Type Name Description
    GfVec3h v1
    GfVec3h v2

    BuildOrthonormalFrame(GfVec3h, GfVec3h, GfHalf)

    Declaration
    public void BuildOrthonormalFrame(GfVec3h v1, GfVec3h v2, GfHalf eps)
    Parameters
    Type Name Description
    GfVec3h v1
    GfVec3h v2
    GfHalf eps

    Dispose()

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

    Equals(GfVec3h, GfVec3h)

    Declaration
    public static bool Equals(GfVec3h lhs, GfVec3h rhs)
    Parameters
    Type Name Description
    GfVec3h lhs
    GfVec3h 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(GfVec3h)

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

    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 GfVec3h GetNormalized()
    Returns
    Type Description
    GfVec3h

    GetNormalized(GfHalf)

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

    GetProjection(GfVec3h)

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

    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

    OrthogonalizeBasis(GfVec3h, GfVec3h, GfVec3h, Boolean)

    Declaration
    public static bool OrthogonalizeBasis(GfVec3h tx, GfVec3h ty, GfVec3h tz, bool normalize)
    Parameters
    Type Name Description
    GfVec3h tx
    GfVec3h ty
    GfVec3h tz
    Boolean normalize
    Returns
    Type Description
    Boolean

    OrthogonalizeBasis(GfVec3h, GfVec3h, GfVec3h, Boolean, Double)

    Declaration
    public static bool OrthogonalizeBasis(GfVec3h tx, GfVec3h ty, GfVec3h tz, bool normalize, double eps)
    Parameters
    Type Name Description
    GfVec3h tx
    GfVec3h ty
    GfVec3h tz
    Boolean normalize
    Double eps
    Returns
    Type Description
    Boolean

    Set(GfHalf)

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

    Set(GfHalf, GfHalf, GfHalf)

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

    SetValue(Int32, Single)

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

    XAxis()

    Declaration
    public static GfVec3h XAxis()
    Returns
    Type Description
    GfVec3h

    YAxis()

    Declaration
    public static GfVec3h YAxis()
    Returns
    Type Description
    GfVec3h

    ZAxis()

    Declaration
    public static GfVec3h ZAxis()
    Returns
    Type Description
    GfVec3h

    Operators

    Equality(GfVec3h, GfVec3h)

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

    Inequality(GfVec3h, GfVec3h)

    Declaration
    public static bool operator !=(GfVec3h lhs, GfVec3h rhs)
    Parameters
    Type Name Description
    GfVec3h lhs
    GfVec3h 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