03-23-2021, 06:46 PM
(03-19-2021, 10:22 PM)megamarc Wrote: Hi,
Good question. World mode is recent and the feature you suggest isn't implemented. You can use TLN_DisableLayer() to turn off a layer, but then you have to reconfigure it to enable it again, that kills the idea behind "world mode".
However it would be quite trivial to implement a TLN_EnableLayer() that just re-enables the layer with previous parameters. That's what you need. Expect a release 2.9.1 soon
Hey that's great to hear! I was thinking it would be nice if we had a TLN_GetWorldPosition() function as well.
I've been trying to figure out how to set a raster effect for line scrolling, but only when the world is at a certain position, and currently I don't see any way to do this without such a function. For example only apply linescroll to the layer if world position y is < 100.