UStaticMeshComponent::GetMeshPaintTextureResolution

Returns the size to use when creating a mesh paint texture on this component.