Generate Procedural Mesh

Working with UE4.5

I’m working on getting this running with UE4.5…

I am getting the following errors:



Error	2	error C2660: 'UMeshComponent::GetMaterialRelevance' : function does not take 0 arguments	C:\...]\GeneratedMeshComponent.cpp	118	1	MGTycoon
Error	3	error C2660: 'CreatePrimitiveUniformBufferImmediate' : function does not take 4 arguments	C:\...]\GeneratedMeshComponent.cpp	209	1	MGTycoon


It seems like the signatures changed for these back-end functions?

Just stabbing around I got it to compile with:



118|			, MaterialRelevance(Component->GetMaterialRelevance(ERHIFeatureLevel::Num))
...|
209|			BatchElement.PrimitiveUniformBuffer = CreatePrimitiveUniformBufferImmediate(GetLocalToWorld(), GetBounds(), GetLocalBounds(), true, true);


Since I don’t know what this does exactly, I was wondering if anybody knows what I should actually be doing to solve this problem.