Esempio n. 1
0
                /// <summary>
                /// 创建模型图层编辑对象
                /// </summary>
                /// <param name=""></param>
                /// <returns>图层编辑对象</returns>
                public EarthView.World.Spatial3D.Layer3DEditor CreateModelLayerEditor()
                {
                    IntPtr __ptr = EarthView_World_Spatial3D_CLayer3DEditorManager_createModelLayerEditor_CLayer3DEditor(this.NativeObject);

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

                    if (csObjClassFactory != null)
                    {
                        csObj.Delegate = true;
                        csObj          = csObjClassFactory.Create() as EarthView.World.Spatial3D.Layer3DEditor;
                        csObj.BindNativeObject(__ptr, "CLayer3DEditor");
                        csObj.Delegate = true;
                    }
                    return(csObj);
                }
Esempio n. 2
0
 /// <summary>
 /// 销毁模型图层编辑对象
 /// </summary>
 /// <param name=""></param>
 /// <returns>图层编辑对象</returns>
 public void DestoryModelLayerEditor(EarthView.World.Spatial3D.Layer3DEditor pEditor)
 {
     EarthView_World_Spatial3D_CLayer3DEditorManager_destoryModelLayerEditor_void_CLayer3DEditor(this.NativeObject, object.Equals(pEditor, null) ? IntPtr.Zero : pEditor.NativeObject);
 }