UpdateTextureRegions - Editor Only?

Hello,

Curious why UpdateTextureRegions is marked with ENGINE_API but wrapped in a WITH_EDITOR ifdef?
I’d prefer not to marshall around it and understand the reasoning behind hiding it.

Thanks!

#if WITH_EDITOR
	/**
	 *	Asynchronously update a set of regions of a texture with new data.
	 *	@param MipIndex - the mip number to update
	 *	@param NumRegions - number of regions to update
	 *	@param Regions - regions to update
	 *	@param SrcPitch - the pitch of the source data in bytes
	 *	@param SrcBpp - the size one pixel data in bytes
	 *	@param SrcData - the source data
	 *  @param bFreeData - if true, the SrcData and Regions pointers will be freed after the update.
	 */
	ENGINE_API void UpdateTextureRegions(int32 MipIndex, uint32 NumRegions, FUpdateTextureRegion2D* Regions, uint32 SrcPitch, uint32 SrcBpp, uint8* SrcData, bool bFreeData);

	/**
	 * Temporarily disable streaming so we update subregions of this texture without streaming clobbering it. 
	 */
	ENGINE_API void TemporarilyDisableStreaming();

	/** Called after an editor or undo operation is formed on texture
	*/
	virtual void PostEditUndo() override;

#endif // WITH_EDITOR

I got the same question. It is strange why these functions are editor related. Anyone?

To update others that see this report and since it was left to rot:

4.13 moved this function to ENGINE_API without IF_EDITOR so now works correctly.

Thanks