I'm making a tiled world plugin, and I need the user to be able to specify the horizontal and vertical wrap just like the built-in tiledBackground plugin.
I took a look at the source of the tiled background to see how it's done, I found out that an exportData value is passed to SDKTypeBase :
class TiledBgType extends C3.SDKTypeBase {
constructor(objectClass, exportData) {
super(objectClass);
this._wrapX = "repeat";
this._wrapY = "repeat";
if (exportData) {
this._wrapX = WrapModeToStr(exportData[0]);
this._wrapY = WrapModeToStr(exportData[1])
}
}}
How can I put values in this exportData for my own plugin. I'm assuming filling the exportData is done in ITypeBase class which is not documented. Can you document it please ?
Thanks.