docs.unity3d.com
    Show / Hide Table of Contents

    Class GfMatrix4d

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

    Constructors

    GfMatrix4d()

    Declaration
    public GfMatrix4d()

    GfMatrix4d(GfMatrix3d, GfVec3d)

    Declaration
    public GfMatrix4d(GfMatrix3d rotmx, GfVec3d translate)
    Parameters
    Type Name Description
    GfMatrix3d rotmx
    GfVec3d translate

    GfMatrix4d(GfMatrix4f)

    Declaration
    public GfMatrix4d(GfMatrix4f m)
    Parameters
    Type Name Description
    GfMatrix4f m

    GfMatrix4d(GfRotation, GfVec3d)

    Declaration
    public GfMatrix4d(GfRotation rotate, GfVec3d translate)
    Parameters
    Type Name Description
    GfRotation rotate
    GfVec3d translate

    GfMatrix4d(GfVec4d)

    Declaration
    public GfMatrix4d(GfVec4d v)
    Parameters
    Type Name Description
    GfVec4d v

    GfMatrix4d(StdDoubleVector, StdDoubleVector, StdDoubleVector, StdDoubleVector)

    Declaration
    public GfMatrix4d(StdDoubleVector r0, StdDoubleVector r1, StdDoubleVector r2, StdDoubleVector r3)
    Parameters
    Type Name Description
    StdDoubleVector r0
    StdDoubleVector r1
    StdDoubleVector r2
    StdDoubleVector r3

    GfMatrix4d(StdDoubleVectorVector)

    Declaration
    public GfMatrix4d(StdDoubleVectorVector v)
    Parameters
    Type Name Description
    StdDoubleVectorVector v

    GfMatrix4d(StdFloatVector, StdFloatVector, StdFloatVector, StdFloatVector)

    Declaration
    public GfMatrix4d(StdFloatVector r0, StdFloatVector r1, StdFloatVector r2, StdFloatVector r3)
    Parameters
    Type Name Description
    StdFloatVector r0
    StdFloatVector r1
    StdFloatVector r2
    StdFloatVector r3

    GfMatrix4d(StdFloatVectorVector)

    Declaration
    public GfMatrix4d(StdFloatVectorVector v)
    Parameters
    Type Name Description
    StdFloatVectorVector v

    GfMatrix4d(Double)

    Declaration
    public GfMatrix4d(double s)
    Parameters
    Type Name Description
    Double s

    GfMatrix4d(Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double)

    Declaration
    public GfMatrix4d(double m00, double m01, double m02, double m03, double m10, double m11, double m12, double m13, double m20, double m21, double m22, double m23, double m30, double m31, double m32, double m33)
    Parameters
    Type Name Description
    Double m00
    Double m01
    Double m02
    Double m03
    Double m10
    Double m11
    Double m12
    Double m13
    Double m20
    Double m21
    Double m22
    Double m23
    Double m30
    Double m31
    Double m32
    Double m33

    Fields

    numColumns

    Declaration
    public static readonly uint numColumns
    Field Value
    Type Description
    UInt32

    numRows

    Declaration
    public static readonly uint numRows
    Field Value
    Type Description
    UInt32

    swigCMemOwn

    Declaration
    protected bool swigCMemOwn
    Field Value
    Type Description
    Boolean

    Methods

    CopyFromArray(Double[])

    Declaration
    public void CopyFromArray(double[] src)
    Parameters
    Type Name Description
    Double[] src

    CopyToArray(Double[])

    Declaration
    public void CopyToArray(double[] dest)
    Parameters
    Type Name Description
    Double[] dest

    data()

    Declaration
    public SWIGTYPE_p_double data()
    Returns
    Type Description
    SWIGTYPE_p_double

    DecomposeRotation(GfVec3d, GfVec3d, GfVec3d)

    Declaration
    public GfVec3d DecomposeRotation(GfVec3d axis0, GfVec3d axis1, GfVec3d axis2)
    Parameters
    Type Name Description
    GfVec3d axis0
    GfVec3d axis1
    GfVec3d axis2
    Returns
    Type Description
    GfVec3d

    Dispose()

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

    Equals(GfMatrix4d, GfMatrix4d)

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

    ExtractRotation()

    Declaration
    public GfRotation ExtractRotation()
    Returns
    Type Description
    GfRotation

    ExtractRotationMatrix()

    Declaration
    public GfMatrix3d ExtractRotationMatrix()
    Returns
    Type Description
    GfMatrix3d

    ExtractRotationQuat()

    Declaration
    public GfQuatd ExtractRotationQuat()
    Returns
    Type Description
    GfQuatd

    ExtractTranslation()

    Declaration
    public GfVec3d ExtractTranslation()
    Returns
    Type Description
    GfVec3d

    Factor(GfMatrix4d, GfVec3d, GfMatrix4d, GfVec3d, GfMatrix4d)

    Declaration
    public bool Factor(GfMatrix4d r, GfVec3d s, GfMatrix4d u, GfVec3d t, GfMatrix4d p)
    Parameters
    Type Name Description
    GfMatrix4d r
    GfVec3d s
    GfMatrix4d u
    GfVec3d t
    GfMatrix4d p
    Returns
    Type Description
    Boolean

    Factor(GfMatrix4d, GfVec3d, GfMatrix4d, GfVec3d, GfMatrix4d, Double)

    Declaration
    public bool Factor(GfMatrix4d r, GfVec3d s, GfMatrix4d u, GfVec3d t, GfMatrix4d p, double eps)
    Parameters
    Type Name Description
    GfMatrix4d r
    GfVec3d s
    GfMatrix4d u
    GfVec3d t
    GfMatrix4d p
    Double eps
    Returns
    Type Description
    Boolean

    Finalize()

    Declaration
    protected void Finalize()

    Get(SWIGTYPE_p_a_4__double)

    Declaration
    public SWIGTYPE_p_double Get(SWIGTYPE_p_a_4__double m)
    Parameters
    Type Name Description
    SWIGTYPE_p_a_4__double m
    Returns
    Type Description
    SWIGTYPE_p_double

    GetColumn(Int32)

    Declaration
    public GfVec4d GetColumn(int i)
    Parameters
    Type Name Description
    Int32 i
    Returns
    Type Description
    GfVec4d

    GetDeterminant()

    Declaration
    public double GetDeterminant()
    Returns
    Type Description
    Double

    GetDeterminant3()

    Declaration
    public double GetDeterminant3()
    Returns
    Type Description
    Double

    GetHandedness()

    Declaration
    public double GetHandedness()
    Returns
    Type Description
    Double

    GetHashCode()

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

    GetInverse()

    Declaration
    public GfMatrix4d GetInverse()
    Returns
    Type Description
    GfMatrix4d

    GetInverse(ref Double)

    Declaration
    public GfMatrix4d GetInverse(ref double det)
    Parameters
    Type Name Description
    Double det
    Returns
    Type Description
    GfMatrix4d

    GetInverse(ref Double, Double)

    Declaration
    public GfMatrix4d GetInverse(ref double det, double eps)
    Parameters
    Type Name Description
    Double det
    Double eps
    Returns
    Type Description
    GfMatrix4d

    GetOrthonormalized()

    Declaration
    public GfMatrix4d GetOrthonormalized()
    Returns
    Type Description
    GfMatrix4d

    GetOrthonormalized(Boolean)

    Declaration
    public GfMatrix4d GetOrthonormalized(bool issueWarning)
    Parameters
    Type Name Description
    Boolean issueWarning
    Returns
    Type Description
    GfMatrix4d

    GetRow(Int32)

    Declaration
    public GfVec4d GetRow(int i)
    Parameters
    Type Name Description
    Int32 i
    Returns
    Type Description
    GfVec4d

    GetRow3(Int32)

    Declaration
    public GfVec3d GetRow3(int i)
    Parameters
    Type Name Description
    Int32 i
    Returns
    Type Description
    GfVec3d

    GetTranspose()

    Declaration
    public GfMatrix4d GetTranspose()
    Returns
    Type Description
    GfMatrix4d

    HasOrthogonalRows3()

    Declaration
    public bool HasOrthogonalRows3()
    Returns
    Type Description
    Boolean

    IsLeftHanded()

    Declaration
    public bool IsLeftHanded()
    Returns
    Type Description
    Boolean

    IsRightHanded()

    Declaration
    public bool IsRightHanded()
    Returns
    Type Description
    Boolean

    Orthonormalize()

    Declaration
    public bool Orthonormalize()
    Returns
    Type Description
    Boolean

    Orthonormalize(Boolean)

    Declaration
    public bool Orthonormalize(bool issueWarning)
    Parameters
    Type Name Description
    Boolean issueWarning
    Returns
    Type Description
    Boolean

    RemoveScaleShear()

    Declaration
    public GfMatrix4d RemoveScaleShear()
    Returns
    Type Description
    GfMatrix4d

    Set(Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double)

    Declaration
    public GfMatrix4d Set(double m00, double m01, double m02, double m03, double m10, double m11, double m12, double m13, double m20, double m21, double m22, double m23, double m30, double m31, double m32, double m33)
    Parameters
    Type Name Description
    Double m00
    Double m01
    Double m02
    Double m03
    Double m10
    Double m11
    Double m12
    Double m13
    Double m20
    Double m21
    Double m22
    Double m23
    Double m30
    Double m31
    Double m32
    Double m33
    Returns
    Type Description
    GfMatrix4d

    SetColumn(Int32, GfVec4d)

    Declaration
    public void SetColumn(int i, GfVec4d v)
    Parameters
    Type Name Description
    Int32 i
    GfVec4d v

    SetDiagonal(GfVec4d)

    Declaration
    public GfMatrix4d SetDiagonal(GfVec4d arg0)
    Parameters
    Type Name Description
    GfVec4d arg0
    Returns
    Type Description
    GfMatrix4d

    SetDiagonal(Double)

    Declaration
    public GfMatrix4d SetDiagonal(double s)
    Parameters
    Type Name Description
    Double s
    Returns
    Type Description
    GfMatrix4d

    SetIdentity()

    Declaration
    public GfMatrix4d SetIdentity()
    Returns
    Type Description
    GfMatrix4d

    SetLookAt(GfVec3d, GfRotation)

    Declaration
    public GfMatrix4d SetLookAt(GfVec3d eyePoint, GfRotation orientation)
    Parameters
    Type Name Description
    GfVec3d eyePoint
    GfRotation orientation
    Returns
    Type Description
    GfMatrix4d

    SetLookAt(GfVec3d, GfVec3d, GfVec3d)

    Declaration
    public GfMatrix4d SetLookAt(GfVec3d eyePoint, GfVec3d centerPoint, GfVec3d upDirection)
    Parameters
    Type Name Description
    GfVec3d eyePoint
    GfVec3d centerPoint
    GfVec3d upDirection
    Returns
    Type Description
    GfMatrix4d

    SetRotate(GfMatrix3d)

    Declaration
    public GfMatrix4d SetRotate(GfMatrix3d mx)
    Parameters
    Type Name Description
    GfMatrix3d mx
    Returns
    Type Description
    GfMatrix4d

    SetRotate(GfQuatd)

    Declaration
    public GfMatrix4d SetRotate(GfQuatd rot)
    Parameters
    Type Name Description
    GfQuatd rot
    Returns
    Type Description
    GfMatrix4d

    SetRotate(GfRotation)

    Declaration
    public GfMatrix4d SetRotate(GfRotation rot)
    Parameters
    Type Name Description
    GfRotation rot
    Returns
    Type Description
    GfMatrix4d

    SetRotateOnly(GfMatrix3d)

    Declaration
    public GfMatrix4d SetRotateOnly(GfMatrix3d mx)
    Parameters
    Type Name Description
    GfMatrix3d mx
    Returns
    Type Description
    GfMatrix4d

    SetRotateOnly(GfQuatd)

    Declaration
    public GfMatrix4d SetRotateOnly(GfQuatd rot)
    Parameters
    Type Name Description
    GfQuatd rot
    Returns
    Type Description
    GfMatrix4d

    SetRotateOnly(GfRotation)

    Declaration
    public GfMatrix4d SetRotateOnly(GfRotation rot)
    Parameters
    Type Name Description
    GfRotation rot
    Returns
    Type Description
    GfMatrix4d

    SetRow(Int32, GfVec4d)

    Declaration
    public void SetRow(int i, GfVec4d v)
    Parameters
    Type Name Description
    Int32 i
    GfVec4d v

    SetRow3(Int32, GfVec3d)

    Declaration
    public void SetRow3(int i, GfVec3d v)
    Parameters
    Type Name Description
    Int32 i
    GfVec3d v

    SetScale(GfVec3d)

    Declaration
    public GfMatrix4d SetScale(GfVec3d scaleFactors)
    Parameters
    Type Name Description
    GfVec3d scaleFactors
    Returns
    Type Description
    GfMatrix4d

    SetScale(Double)

    Declaration
    public GfMatrix4d SetScale(double scaleFactor)
    Parameters
    Type Name Description
    Double scaleFactor
    Returns
    Type Description
    GfMatrix4d

    SetTransform(GfMatrix3d, GfVec3d)

    Declaration
    public GfMatrix4d SetTransform(GfMatrix3d rotmx, GfVec3d translate)
    Parameters
    Type Name Description
    GfMatrix3d rotmx
    GfVec3d translate
    Returns
    Type Description
    GfMatrix4d

    SetTransform(GfRotation, GfVec3d)

    Declaration
    public GfMatrix4d SetTransform(GfRotation rotate, GfVec3d translate)
    Parameters
    Type Name Description
    GfRotation rotate
    GfVec3d translate
    Returns
    Type Description
    GfMatrix4d

    SetTranslate(GfVec3d)

    Declaration
    public GfMatrix4d SetTranslate(GfVec3d trans)
    Parameters
    Type Name Description
    GfVec3d trans
    Returns
    Type Description
    GfMatrix4d

    SetTranslateOnly(GfVec3d)

    Declaration
    public GfMatrix4d SetTranslateOnly(GfVec3d t)
    Parameters
    Type Name Description
    GfVec3d t
    Returns
    Type Description
    GfMatrix4d

    SetZero()

    Declaration
    public GfMatrix4d SetZero()
    Returns
    Type Description
    GfMatrix4d

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    Object.ToString()

    Transform(GfVec3d)

    Declaration
    public GfVec3d Transform(GfVec3d vec)
    Parameters
    Type Name Description
    GfVec3d vec
    Returns
    Type Description
    GfVec3d

    Transform(GfVec3f)

    Declaration
    public GfVec3f Transform(GfVec3f vec)
    Parameters
    Type Name Description
    GfVec3f vec
    Returns
    Type Description
    GfVec3f

    TransformAffine(GfVec3d)

    Declaration
    public GfVec3d TransformAffine(GfVec3d vec)
    Parameters
    Type Name Description
    GfVec3d vec
    Returns
    Type Description
    GfVec3d

    TransformAffine(GfVec3f)

    Declaration
    public GfVec3f TransformAffine(GfVec3f vec)
    Parameters
    Type Name Description
    GfVec3f vec
    Returns
    Type Description
    GfVec3f

    TransformDir(GfVec3d)

    Declaration
    public GfVec3d TransformDir(GfVec3d vec)
    Parameters
    Type Name Description
    GfVec3d vec
    Returns
    Type Description
    GfVec3d

    TransformDir(GfVec3f)

    Declaration
    public GfVec3f TransformDir(GfVec3f vec)
    Parameters
    Type Name Description
    GfVec3f vec
    Returns
    Type Description
    GfVec3f

    Operators

    Equality(GfMatrix4d, GfMatrix4d)

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

    Inequality(GfMatrix4d, GfMatrix4d)

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