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