{\
case 1:\
SkinVertices<VertexType<1>, 1>(
DestVertex, ReferenceToLocal, DynamicData->LODIndex, LOD, *
MeshLOD.MeshObjectWeightBuffer, DynamicData->ActiveMorphTargets, DynamicData->MorphTargetWeights, DynamicData->ClothSimulUpdateData, DynamicData->ClothBlendWeight, DynamicData->WorldToLocal, WorldScale); \
break;\
case 2:\
SkinVertices<VertexType<2>, 2>(
DestVertex, ReferenceToLocal, DynamicData->LODIndex, LOD, *
MeshLOD.MeshObjectWeightBuffer, DynamicData->ActiveMorphTargets, DynamicData->MorphTargetWeights, DynamicData->ClothSimulUpdateData, DynamicData->ClothBlendWeight, DynamicData->WorldToLocal, WorldScale); \
break;\
case 3:\
SkinVertices<VertexType<3>, 3>(
DestVertex, ReferenceToLocal, DynamicData->LODIndex, LOD, *
MeshLOD.MeshObjectWeightBuffer, DynamicData->ActiveMorphTargets, DynamicData->MorphTargetWeights, DynamicData->ClothSimulUpdateData, DynamicData->ClothBlendWeight, DynamicData->WorldToLocal, WorldScale); \
break;\
case 4:\
SkinVertices<VertexType<4>, 4>(
DestVertex, ReferenceToLocal, DynamicData->LODIndex, LOD, *
MeshLOD.MeshObjectWeightBuffer, DynamicData->ActiveMorphTargets, DynamicData->MorphTargetWeights, DynamicData->ClothSimulUpdateData, DynamicData->ClothBlendWeight, DynamicData->WorldToLocal, WorldScale); \
break;\
checkf(
false,
TEXT(
"Invalid number of UV sets. Must be between 1 and 4") );\
break;\
}\
}\
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127