FMaterial::LegacySerialize

Serializes the material.