示例#1
0
        public new static FbxGeometryBase Create(FbxManager pManager, string pName)
        {
            global::System.IntPtr cPtr = FbxWrapperNativePINVOKE.FbxGeometryBase_Create__SWIG_0(FbxManager.getCPtr(pManager), pName);
            FbxGeometryBase       ret  = (cPtr == global::System.IntPtr.Zero) ? null : new FbxGeometryBase(cPtr, false);

            return(ret);
        }
示例#2
0
        public new static FbxGeometryBase Create(FbxObject pContainer, string pName)
        {
            global::System.IntPtr cPtr = fbx_wrapperPINVOKE.FbxGeometryBase_Create__SWIG_1(FbxObject.getCPtr(pContainer), pName);
            FbxGeometryBase       ret  = (cPtr == global::System.IntPtr.Zero) ? null : new FbxGeometryBase(cPtr, false);

            return(ret);
        }
示例#3
0
 public bool Equals(FbxGeometryBase other)
 {
     if (object.ReferenceEquals(other, null))
     {
         return(false);
     }
     return(this.swigCPtr.Handle.Equals(other.swigCPtr.Handle));
 }
示例#4
0
 public static void GetControlPoints(FbxGeometryBase mesh, System.IntPtr f)
 {
     NativeMethods.GetControlPoints(FbxGeometryBase.getCPtr(mesh), f);
     if (NativeMethods.SWIGPendingException.Pending)
     {
         throw NativeMethods.SWIGPendingException.Retrieve();
     }
 }
示例#5
0
        public new static FbxGeometryBase Create(FbxObject pContainer, string pName)
        {
            global::System.IntPtr cPtr = NativeMethods.FbxGeometryBase_Create__SWIG_1(FbxObject.getCPtr(pContainer), pName);
            FbxGeometryBase       ret  = (cPtr == global::System.IntPtr.Zero) ? null : new FbxGeometryBase(cPtr, false);

            if (NativeMethods.SWIGPendingException.Pending)
            {
                throw NativeMethods.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public void SetControlPointAtTest()
        {
            int N = 1000000;

            DefaultTest(
                "SetControlPointAt",
                N,
                40,
                () => {
                FbxGeometryBase geometryBase = FbxGeometryBase.Create(m_fbxManager, "");
                geometryBase.InitControlPoints(1);
                for (int i = 0; i < N; i++)
                {
                    FbxVector4 vector = new FbxVector4(0, 0, 0);
                    geometryBase.SetControlPointAt(vector, 0);
                }
            }
                );
        }
示例#7
0
 public void InitNormals(FbxGeometryBase pSrc)
 {
     fbx_wrapperPINVOKE.FbxGeometryBase_InitNormals__SWIG_2(swigCPtr, FbxGeometryBase.getCPtr(pSrc));
 }
示例#8
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FbxGeometryBase obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
示例#9
0
 public void InitBinormals(FbxGeometryBase pSrc, int pLayerIndex)
 {
     fbx_wrapperPINVOKE.FbxGeometryBase_InitBinormals__SWIG_4(swigCPtr, FbxGeometryBase.getCPtr(pSrc), pLayerIndex);
 }
示例#10
0
 public void InitTangents(FbxGeometryBase pSrc)
 {
     fbx_wrapperPINVOKE.FbxGeometryBase_InitTangents__SWIG_5(swigCPtr, FbxGeometryBase.getCPtr(pSrc));
 }
示例#11
0
 public void InitBinormals(FbxGeometryBase pSrc)
 {
     FbxWrapperNativePINVOKE.FbxGeometryBase_InitBinormals__SWIG_5(swigCPtr, FbxGeometryBase.getCPtr(pSrc));
 }
示例#12
0
 public void InitTangents(FbxGeometryBase pSrc, int pLayerIndex)
 {
     FbxWrapperNativePINVOKE.FbxGeometryBase_InitTangents__SWIG_4(swigCPtr, FbxGeometryBase.getCPtr(pSrc), pLayerIndex);
 }