public static GroundFog FromBaseObject(BaseObject baseObj) { if (baseObj == null || baseObj.NativeObject == IntPtr.Zero) { return(null); } GroundFog obj = baseObj as GroundFog; if (object.Equals(obj, null)) { obj = new GroundFog(CreatedWhenConstruct.CWC_NotToCreate); obj.BindNativeObject(baseObj.NativeObject, "CGroundFog"); obj.IncreaseCast(); } return(obj); }
public BaseObject Create() { GroundFog emptyInstance = new GroundFog(CreatedWhenConstruct.CWC_NotToCreate); return(emptyInstance); }