protected void EarthView_World_Spatial3D_Atlas_CBingMapTree_update_void_CCamera_Function(IntPtr camera)
                    {
                        EarthView.World.Graphic.Camera csobj_camera = new EarthView.World.Graphic.Camera(CreatedWhenConstruct.CWC_NotToCreate);
                        csobj_camera.BindNativeObject(camera, "CCamera");
                        csobj_camera.Delegate = true;
                        IClassFactory csobj_cameraClassFactory = GlobalClassFactoryMap.Get(csobj_camera.GetCppInstanceTypeName());

                        if (csobj_cameraClassFactory != null)
                        {
                            csobj_camera.Delegate = true;
                            csobj_camera          = csobj_cameraClassFactory.Create() as EarthView.World.Graphic.Camera;
                            csobj_camera.BindNativeObject(camera, "CCamera");
                            csobj_camera.Delegate = true;
                        }

                        Update(csobj_camera);
                    }
Пример #2
0
                protected void EarthView_World_Graphic_CShadowCameraSetup_getShadowCamera_void_CSceneManager_CCamera_CViewport_CLight_CCamera_ev_size_t_Function(IntPtr sm, IntPtr cam, IntPtr vp, IntPtr light, IntPtr texCam, ulong iteration)
                {
                    EarthView.World.Graphic.SceneManager csobj_sm = new EarthView.World.Graphic.SceneManager(CreatedWhenConstruct.CWC_NotToCreate);
                    csobj_sm.BindNativeObject(sm, "CSceneManager");
                    csobj_sm.Delegate = true;
                    IClassFactory csobj_smClassFactory = GlobalClassFactoryMap.Get(csobj_sm.GetCppInstanceTypeName());

                    if (csobj_smClassFactory != null)
                    {
                        csobj_sm.Delegate = true;
                        csobj_sm          = csobj_smClassFactory.Create() as EarthView.World.Graphic.SceneManager;
                        csobj_sm.BindNativeObject(sm, "CSceneManager");
                        csobj_sm.Delegate = true;
                    }
                    EarthView.World.Graphic.Camera csobj_cam = new EarthView.World.Graphic.Camera(CreatedWhenConstruct.CWC_NotToCreate);
                    csobj_cam.BindNativeObject(cam, "CCamera");
                    csobj_cam.Delegate = true;
                    IClassFactory csobj_camClassFactory = GlobalClassFactoryMap.Get(csobj_cam.GetCppInstanceTypeName());

                    if (csobj_camClassFactory != null)
                    {
                        csobj_cam.Delegate = true;
                        csobj_cam          = csobj_camClassFactory.Create() as EarthView.World.Graphic.Camera;
                        csobj_cam.BindNativeObject(cam, "CCamera");
                        csobj_cam.Delegate = true;
                    }
                    EarthView.World.Graphic.Viewport csobj_vp = new EarthView.World.Graphic.Viewport(CreatedWhenConstruct.CWC_NotToCreate);
                    csobj_vp.BindNativeObject(vp, "CViewport");
                    csobj_vp.Delegate = true;
                    IClassFactory csobj_vpClassFactory = GlobalClassFactoryMap.Get(csobj_vp.GetCppInstanceTypeName());

                    if (csobj_vpClassFactory != null)
                    {
                        csobj_vp.Delegate = true;
                        csobj_vp          = csobj_vpClassFactory.Create() as EarthView.World.Graphic.Viewport;
                        csobj_vp.BindNativeObject(vp, "CViewport");
                        csobj_vp.Delegate = true;
                    }
                    EarthView.World.Graphic.Light csobj_light = new EarthView.World.Graphic.Light(CreatedWhenConstruct.CWC_NotToCreate);
                    csobj_light.BindNativeObject(light, "CLight");
                    csobj_light.Delegate = true;
                    IClassFactory csobj_lightClassFactory = GlobalClassFactoryMap.Get(csobj_light.GetCppInstanceTypeName());

                    if (csobj_lightClassFactory != null)
                    {
                        csobj_light.Delegate = true;
                        csobj_light          = csobj_lightClassFactory.Create() as EarthView.World.Graphic.Light;
                        csobj_light.BindNativeObject(light, "CLight");
                        csobj_light.Delegate = true;
                    }
                    EarthView.World.Graphic.Camera csobj_texCam = new EarthView.World.Graphic.Camera(CreatedWhenConstruct.CWC_NotToCreate);
                    csobj_texCam.BindNativeObject(texCam, "CCamera");
                    csobj_texCam.Delegate = true;
                    IClassFactory csobj_texCamClassFactory = GlobalClassFactoryMap.Get(csobj_texCam.GetCppInstanceTypeName());

                    if (csobj_texCamClassFactory != null)
                    {
                        csobj_texCam.Delegate = true;
                        csobj_texCam          = csobj_texCamClassFactory.Create() as EarthView.World.Graphic.Camera;
                        csobj_texCam.BindNativeObject(texCam, "CCamera");
                        csobj_texCam.Delegate = true;
                    }

                    GetShadowCamera(csobj_sm, csobj_cam, csobj_vp, csobj_light, csobj_texCam, iteration);
                }