Esempio n. 1
0
        protected GfVec3f GetValue(int index)
        {
            GfVec3f ret = new GfVec3f(UsdCsPINVOKE.VtVec3fArray_GetValue(swigCPtr, index), false);

            return(ret);
        }
Esempio n. 2
0
 public GfQuatf(float real, GfVec3f imaginary) : this(UsdCsPINVOKE.new_GfQuatf__SWIG_3(real, GfVec3f.getCPtr(imaginary)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 3
0
        public GfVec3f TransformAffine(GfVec3f vec)
        {
            GfVec3f ret = new GfVec3f(UsdCsPINVOKE.GfMatrix4f_TransformAffine__SWIG_1(swigCPtr, GfVec3f.getCPtr(vec)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 static public UnityEngine.Vector3 Vec3fToVector3(GfVec3f v3)
 {
     return(new UnityEngine.Vector3(v3[0], v3[1], v3[2]));
 }
Esempio n. 5
0
        public GfMatrix4f SetLookAt(GfVec3f eyePoint, GfRotation orientation)
        {
            GfMatrix4f ret = new GfMatrix4f(UsdCsPINVOKE.GfMatrix4f_SetLookAt__SWIG_1(swigCPtr, GfVec3f.getCPtr(eyePoint), GfRotation.getCPtr(orientation)), false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 6
0
        public GfVec3f ExtractTranslation()
        {
            GfVec3f ret = new GfVec3f(UsdCsPINVOKE.GfMatrix4f_ExtractTranslation(swigCPtr), true);

            return(ret);
        }
Esempio n. 7
0
 public void BuildOrthonormalFrame(GfVec3f v1, GfVec3f v2, float eps)
 {
     UsdCsPINVOKE.GfVec3f_BuildOrthonormalFrame__SWIG_0(swigCPtr, GfVec3f.getCPtr(v1), GfVec3f.getCPtr(v2), eps);
 }
Esempio n. 8
0
        public GfMatrix4f SetTranslateOnly(GfVec3f t)
        {
            GfMatrix4f ret = new GfMatrix4f(UsdCsPINVOKE.GfMatrix4f_SetTranslateOnly(swigCPtr, GfVec3f.getCPtr(t)), false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 9
0
        public GfVec3f GetNormalized()
        {
            GfVec3f ret = new GfVec3f(UsdCsPINVOKE.GfVec3f_GetNormalized__SWIG_1(swigCPtr), true);

            return(ret);
        }
Esempio n. 10
0
        public static bool OrthogonalizeBasis(GfVec3f tx, GfVec3f ty, GfVec3f tz, bool normalize)
        {
            bool ret = UsdCsPINVOKE.GfVec3f_OrthogonalizeBasis__SWIG_1(GfVec3f.getCPtr(tx), GfVec3f.getCPtr(ty), GfVec3f.getCPtr(tz), normalize);

            return(ret);
        }
Esempio n. 11
0
        public GfVec3f GetNormalized(float eps)
        {
            GfVec3f ret = new GfVec3f(UsdCsPINVOKE.GfVec3f_GetNormalized__SWIG_0(swigCPtr, eps), true);

            return(ret);
        }
Esempio n. 12
0
        public GfVec3f Set(float s0, float s1, float s2)
        {
            GfVec3f ret = new GfVec3f(UsdCsPINVOKE.GfVec3f_Set(swigCPtr, s0, s1, s2), false);

            return(ret);
        }
Esempio n. 13
0
        public static GfVec3f Axis(uint i)
        {
            GfVec3f ret = new GfVec3f(UsdCsPINVOKE.GfVec3f_Axis(i), true);

            return(ret);
        }
Esempio n. 14
0
        public GfVec3f GetRow3(int i)
        {
            GfVec3f ret = new GfVec3f(UsdCsPINVOKE.GfMatrix4f_GetRow3(swigCPtr, i), true);

            return(ret);
        }
Esempio n. 15
0
 public void BuildOrthonormalFrame(GfVec3f v1, GfVec3f v2)
 {
     UsdCsPINVOKE.GfVec3f_BuildOrthonormalFrame__SWIG_1(swigCPtr, GfVec3f.getCPtr(v1), GfVec3f.getCPtr(v2));
 }
Esempio n. 16
0
        public GfMatrix4f SetScale(GfVec3f scaleFactors)
        {
            GfMatrix4f ret = new GfMatrix4f(UsdCsPINVOKE.GfMatrix4f_SetScale__SWIG_1(swigCPtr, GfVec3f.getCPtr(scaleFactors)), false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 17
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(GfVec3f obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Esempio n. 18
0
        public GfMatrix4f SetTransform(GfMatrix3f rotmx, GfVec3f translate)
        {
            GfMatrix4f ret = new GfMatrix4f(UsdCsPINVOKE.GfMatrix4f_SetTransform__SWIG_1(swigCPtr, GfMatrix3f.getCPtr(rotmx), GfVec3f.getCPtr(translate)), false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 19
0
 override public bool Equals(object rhs)
 {
     return(GfVec3f.Equals(this, rhs as GfVec3f));
 }
Esempio n. 20
0
        public bool Factor(GfMatrix4f r, GfVec3f s, GfMatrix4f u, GfVec3f t, GfMatrix4f p)
        {
            bool ret = UsdCsPINVOKE.GfMatrix4f_Factor__SWIG_1(swigCPtr, GfMatrix4f.getCPtr(r), GfVec3f.getCPtr(s), GfMatrix4f.getCPtr(u), GfVec3f.getCPtr(t), GfMatrix4f.getCPtr(p));

            return(ret);
        }
Esempio n. 21
0
        public static GfVec3f YAxis()
        {
            GfVec3f ret = new GfVec3f(UsdCsPINVOKE.GfVec3f_YAxis(), true);

            return(ret);
        }
Esempio n. 22
0
        public GfVec3f DecomposeRotation(GfVec3f axis0, GfVec3f axis1, GfVec3f axis2)
        {
            GfVec3f ret = new GfVec3f(UsdCsPINVOKE.GfMatrix4f_DecomposeRotation(swigCPtr, GfVec3f.getCPtr(axis0), GfVec3f.getCPtr(axis1), GfVec3f.getCPtr(axis2)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 23
0
        public GfVec3f TransformDir(GfVec3f vec)
        {
            GfVec3f ret = new GfVec3f(UsdCsPINVOKE.GfRotation_TransformDir__SWIG_0(swigCPtr, GfVec3f.getCPtr(vec)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 24
0
 public GfMatrix4f(GfRotation rotate, GfVec3f translate) : this(UsdCsPINVOKE.new_GfMatrix4f__SWIG_8(GfRotation.getCPtr(rotate), GfVec3f.getCPtr(translate)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 25
0
        public GfVec3f GetColumn(int i)
        {
            GfVec3f ret = new GfVec3f(UsdCsPINVOKE.GfMatrix3f_GetColumn(swigCPtr, i), true);

            return(ret);
        }
Esempio n. 26
0
        public GfVec3f ComputeBaseEmission()
        {
            GfVec3f ret = new GfVec3f(UsdCsPINVOKE.UsdLuxLight_ComputeBaseEmission(swigCPtr), true);

            return(ret);
        }
Esempio n. 27
0
        public GfMatrix3f SetDiagonal(GfVec3f arg0)
        {
            GfMatrix3f ret = new GfMatrix3f(UsdCsPINVOKE.GfMatrix3f_SetDiagonal__SWIG_1(swigCPtr, GfVec3f.getCPtr(arg0)), false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 28
0
 public VtVec3fArray(Vt_ArrayForeignDataSource foreignSrc, GfVec3f data, uint size) : this(UsdCsPINVOKE.new_VtVec3fArray__SWIG_2(Vt_ArrayForeignDataSource.getCPtr(foreignSrc), GfVec3f.getCPtr(data), size), true)
 {
 }
Esempio n. 29
0
        public GfVec3f GetImaginary()
        {
            GfVec3f ret = new GfVec3f(UsdCsPINVOKE.GfQuatf_GetImaginary(swigCPtr), false);

            return(ret);
        }