/Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h
Creates a Dynamic Material Instance for the specified element index. The parent of the instance is set to the material being replaced.
virtual [UMaterialInstanceDynamic](API\Runtime\Engine\Materials\UMaterialInstanceDynamic) * CreateAndSetMaterialInstanceDynamic ( int32 ElementIndex )