Пример #1
0
                    public static BaseOctreeManager FromBaseObject(BaseObject baseObj)
                    {
                        if (baseObj == null || baseObj.NativeObject == IntPtr.Zero)
                        {
                            return(null);
                        }
                        BaseOctreeManager obj = baseObj as  BaseOctreeManager;

                        if (object.Equals(obj, null))
                        {
                            obj = new BaseOctreeManager(CreatedWhenConstruct.CWC_NotToCreate);
                            obj.BindNativeObject(baseObj.NativeObject, "CBaseOctreeManager");
                            obj.IncreaseCast();
                        }

                        return(obj);
                    }
Пример #2
0
                    public BaseObject Create()
                    {
                        BaseOctreeManager emptyInstance = new BaseOctreeManager(CreatedWhenConstruct.CWC_NotToCreate);

                        return(emptyInstance);
                    }