Beispiel #1
0
                /// <summary>
                /// 获取特效对象obj的EarthView::World::Core::CStringInterface
                /// </summary>
                /// <param name="obj">特效对象</param>
                /// <returns>EarthView::World::Core::CStringInterface</returns>
                public EarthView.World.Core.StringInterface GetStringInterface(EarthView.World.Spatial3D.EffectManager.EffectObject obj)
                {
                    IntPtr __ptr = EarthView_World_Spatial3DProxy_CEffectDBManager_getStringInterface_CStringInterface_CEffectObject(this.NativeObject, object.Equals(obj, null) ? IntPtr.Zero : obj.NativeObject);

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

                    if (csObjClassFactory != null)
                    {
                        csObj.Delegate = true;
                        csObj          = csObjClassFactory.Create() as EarthView.World.Core.StringInterface;
                        csObj.BindNativeObject(__ptr, "CStringInterface");
                        csObj.Delegate = true;
                    }
                    return(csObj);
                }
Beispiel #2
0
 public override void CopyParametersTo(EarthView.World.Core.StringInterface dest)
 {
     base.CopyParametersTo_NoVirtual(dest);
 }