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