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