Download

How do I construct my FSkeletalMeshLODRenderData from my mesh or however it works?

So I type:

FSkeletalMeshLODRenderData Model;

Model has a red underline in Visual Studio

this is what I want to use it for:

FVector AEve::GetVertexPosition(USkeletalMeshComponent* Component, int32 VertexIndex)

{
	
	FSkeletalMeshLODRenderData Model;
	FSkinWeightVertexBuffer SkinWeightBuffer;
	FVector MyVector = USkeletalMeshComponent::GetSkinnedVertexPosition(Component, VertexIndex, Model, SkinWeightBuffer);

	return MyVector;
}