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); }
public BaseObject Create() { BaseOctreeManager emptyInstance = new BaseOctreeManager(CreatedWhenConstruct.CWC_NotToCreate); return(emptyInstance); }