public EarthView.World.Graphic.LodStrategy RemoveStrategy(string name) { IntPtr __ptr = EarthView_World_Graphic_CLodStrategyManager_removeStrategy_CLodStrategy_EVString(this.NativeObject, name); if (__ptr == IntPtr.Zero) { return(null); } EarthView.World.Graphic.LodStrategy csObj = new EarthView.World.Graphic.LodStrategy(CreatedWhenConstruct.CWC_NotToCreate); csObj.BindNativeObject(__ptr, "CLodStrategy"); csObj.Delegate = true; IClassFactory csObjClassFactory = GlobalClassFactoryMap.Get(csObj.GetCppInstanceTypeName()); if (csObjClassFactory != null) { csObj.Delegate = true; csObj = csObjClassFactory.Create() as EarthView.World.Graphic.LodStrategy; csObj.BindNativeObject(__ptr, "CLodStrategy"); csObj.Delegate = true; } return(csObj); }
public void AddStrategy(EarthView.World.Graphic.LodStrategy ref_strategy) { EarthView_World_Graphic_CLodStrategyManager_addStrategy_void_CLodStrategy(this.NativeObject, object.Equals(ref_strategy, null) ? IntPtr.Zero : ref_strategy.NativeObject); }