public EarthView.World.Graphic.ExternalTextureSource GetExternalTextureSource(string sTexturePlugInType)
                {
                    IntPtr __ptr = EarthView_World_Graphic_CExternalTextureSourceManager_getExternalTextureSource_CExternalTextureSource_EVString(this.NativeObject, sTexturePlugInType);

                    if (__ptr == IntPtr.Zero)
                    {
                        return(null);
                    }
                    EarthView.World.Graphic.ExternalTextureSource csObj = new EarthView.World.Graphic.ExternalTextureSource(CreatedWhenConstruct.CWC_NotToCreate);
                    csObj.BindNativeObject(__ptr, "CExternalTextureSource");
                    csObj.Delegate = true;
                    IClassFactory csObjClassFactory = GlobalClassFactoryMap.Get(csObj.GetCppInstanceTypeName());

                    if (csObjClassFactory != null)
                    {
                        csObj.Delegate = true;
                        csObj          = csObjClassFactory.Create() as EarthView.World.Graphic.ExternalTextureSource;
                        csObj.BindNativeObject(__ptr, "CExternalTextureSource");
                        csObj.Delegate = true;
                    }
                    return(csObj);
                }
 public void SetExternalTextureSource(string sTexturePlugInType, EarthView.World.Graphic.ExternalTextureSource ref_pTextureSystem)
 {
     EarthView_World_Graphic_CExternalTextureSourceManager_setExternalTextureSource_void_EVString_CExternalTextureSource(this.NativeObject, sTexturePlugInType, object.Equals(ref_pTextureSystem, null) ? IntPtr.Zero : ref_pTextureSystem.NativeObject);
 }