'TypeInfo': is not a member of FVector
I'm using the FLeX 4.14.3 branch of NVIDIA's UE4 repo: https://github.com/NvPhysX/UnrealEngine/tree/FleX-4.14.3
And I'm trying to add the RuntimeMeshComponent as a plugin to the engine: https://github.com/Koderz/UE4RuntimeMeshComponent/tree/master https://www.unrealengine.com/marketplace/runtime-mesh-component
I've got the engine built with the plugin as an engine plugin. It gave a couple of errors about all files needing the same precompiled headers at the top within a plugin, but that was easily fixed.
What I'm not sure how to fix is that, when passing the vertex array as a TArray, the compiler throws the following:
The line this points me to is line 542 in RuntimeMeshSection.h
Where VertexType is a templated type that FVector fills, so it's effectively
For reference, the line I'm calling that causes this is:
Where vertices is
My question is if there's a known way to either fix this or circumvent this.
The fact that this is templated means there's likely some other option for vertices other than FVector, but I don't know what that would be within the realm of UE4.
I might also be missing something completely.
My other option is replacing the template completely with FVector, but as that is a big endeavor, I'm hoping for something a bit less time consuming.
asked Apr 03 '17 at 08:38 PM in C++ Programming
The overloads in this plugin cause me some grief too. You have to call the full signature, with normals, tangents and all.
answered Nov 20 '17 at 06:16 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here