Inheritance: IDisposable
Exemplo n.º 1
0
        public bool SetUVTransform(aiTextureType type, uint index, aiUVTransform INPUT)
        {
            bool ret = assimp_swigPINVOKE.aiMaterial_SetUVTransform(swigCPtr, (int)type, index, aiUVTransform.getCPtr(INPUT));

            if (assimp_swigPINVOKE.SWIGPendingException.Pending)
            {
                throw assimp_swigPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 2
0
 internal static HandleRef getCPtr(aiUVTransform obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Exemplo n.º 3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(aiUVTransform obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Exemplo n.º 4
0
 internal static HandleRef getCPtr(aiUVTransform obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Exemplo n.º 5
0
        public static aiReturn aiGetMaterialUVTransform(aiMaterial pMat, string pKey, uint type, uint index, aiUVTransform pOut)
        {
            aiReturn ret = (aiReturn)assimp_swigPINVOKE.aiGetMaterialUVTransform(aiMaterial.getCPtr(pMat), pKey, type, index, aiUVTransform.getCPtr(pOut));

            return(ret);
        }