public FbxLayerElementArrayTemplateFbxColor GetDirectArray()
        {
            FbxLayerElementArrayTemplateFbxColor ret = new FbxLayerElementArrayTemplateFbxColor(NativeMethods.FbxLayerElementTemplateFbxColor_GetDirectArray(swigCPtr), false);

            if (NativeMethods.SWIGPendingException.Pending)
            {
                throw NativeMethods.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 2
0
        public FbxLayerElementArrayTemplateFbxColor assign(FbxLayerElementArrayTemplateFbxColor pArrayTemplate)
        {
            FbxLayerElementArrayTemplateFbxColor ret = new FbxLayerElementArrayTemplateFbxColor(FbxWrapperNativePINVOKE.FbxLayerElementArrayTemplateFbxColor_assign__SWIG_1(swigCPtr, FbxLayerElementArrayTemplateFbxColor.getCPtr(pArrayTemplate)), false);

            if (FbxWrapperNativePINVOKE.SWIGPendingException.Pending)
            {
                throw FbxWrapperNativePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 3
0
 static void CopyToFbx(FbxLayerElementArrayTemplateFbxColor fbx, List <Color> unity)
 {
     fbx.SetCount(unity.Count);
     unsafe
     {
         fixed(void *ptr = unity.GetBackingArray())
         {
             Globals.CopyColorToFbxColor(fbx, (IntPtr)ptr);
         }
     }
 }
Exemplo n.º 4
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FbxLayerElementArrayTemplateFbxColor obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Exemplo n.º 5
0
 public static void CopyColorToFbxColor(FbxLayerElementArrayTemplateFbxColor layerElement, System.IntPtr f)
 {
     NativeMethods.CopyColorToFbxColor(FbxLayerElementArrayTemplateFbxColor.getCPtr(layerElement), f);
 }
Exemplo n.º 6
0
        public FbxLayerElementArrayTemplateFbxColor GetDirectArray()
        {
            FbxLayerElementArrayTemplateFbxColor ret = new FbxLayerElementArrayTemplateFbxColor(FbxWrapperNativePINVOKE.FbxLayerElementTemplateFbxColor_GetDirectArray__SWIG_0(swigCPtr), false);

            return(ret);
        }