示例#1
0
 public GfVec4fVector(GfVec4fVector other) : this(UsdCsPINVOKE.new_GfVec4fVector__SWIG_1(GfVec4fVector.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
 public GfVec4fVectorEnumerator(GfVec4fVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
示例#3
0
 public void SetClippingPlanes(GfVec4fVector val)
 {
     UsdCsPINVOKE.GfCamera_SetClippingPlanes(swigCPtr, GfVec4fVector.getCPtr(val));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#4
0
 public void SetRange(int index, GfVec4fVector values)
 {
     UsdCsPINVOKE.GfVec4fVector_SetRange(swigCPtr, index, GfVec4fVector.getCPtr(values));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#5
0
        public static GfVec4fVector Repeat(GfVec4f value, int count)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.GfVec4fVector_Repeat(GfVec4f.getCPtr(value), count);
            GfVec4fVector         ret  = (cPtr == global::System.IntPtr.Zero) ? null : new GfVec4fVector(cPtr, true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#6
0
        public GfVec4fVector GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.GfVec4fVector_GetRange(swigCPtr, index, count);
            GfVec4fVector         ret  = (cPtr == global::System.IntPtr.Zero) ? null : new GfVec4fVector(cPtr, true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#7
0
 public GfCamera(GfMatrix4d transform, GfCamera.Projection projection, float horizontalAperture, float verticalAperture, float horizontalApertureOffset, float verticalApertureOffset, float focalLength, GfRange1f clippingRange, GfVec4fVector clippingPlanes, float fStop) : this(UsdCsPINVOKE.new_GfCamera__SWIG_1(GfMatrix4d.getCPtr(transform), (int)projection, horizontalAperture, verticalAperture, horizontalApertureOffset, verticalApertureOffset, focalLength, GfRange1f.getCPtr(clippingRange), GfVec4fVector.getCPtr(clippingPlanes), fStop), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#8
0
        public GfVec4fVector GetClippingPlanes()
        {
            GfVec4fVector ret = new GfVec4fVector(UsdCsPINVOKE.GfCamera_GetClippingPlanes(swigCPtr), false);

            return(ret);
        }
示例#9
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(GfVec4fVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }