docs.unity3d.com
    Show / Hide Table of Contents

    Class GfVec4h

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

    Constructors

    GfVec4h()

    Declaration
    public GfVec4h()

    GfVec4h(GfHalf)

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

    GfVec4h(GfHalf, GfHalf, GfHalf, GfHalf)

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

    GfVec4h(GfVec4d)

    Declaration
    public GfVec4h(GfVec4d other)
    Parameters
    Type Name Description
    GfVec4d other

    GfVec4h(GfVec4f)

    Declaration
    public GfVec4h(GfVec4f other)
    Parameters
    Type Name Description
    GfVec4f other

    GfVec4h(GfVec4i)

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

    Dispose()

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

    Equals(GfVec4h, GfVec4h)

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

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

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

    GetNormalized(GfHalf)

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

    GetProjection(GfVec4h)

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

    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 GfVec4h Set(GfHalf a)
    Parameters
    Type Name Description
    GfHalf a
    Returns
    Type Description
    GfVec4h

    Set(GfHalf, GfHalf, GfHalf, GfHalf)

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

    SetValue(Int32, Single)

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

    WAxis()

    Declaration
    public static GfVec4h WAxis()
    Returns
    Type Description
    GfVec4h

    XAxis()

    Declaration
    public static GfVec4h XAxis()
    Returns
    Type Description
    GfVec4h

    YAxis()

    Declaration
    public static GfVec4h YAxis()
    Returns
    Type Description
    GfVec4h

    ZAxis()

    Declaration
    public static GfVec4h ZAxis()
    Returns
    Type Description
    GfVec4h

    Operators

    Equality(GfVec4h, GfVec4h)

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

    Inequality(GfVec4h, GfVec4h)

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