effekseer / EffekseerForWebGL

MIT License
116 stars 17 forks source link

Can I set current time of the effect ? #76

Closed scarletsky closed 2 years ago

scarletsky commented 2 years ago

Hello, I have a problem about looping the effect. There are 120 frames in my effect: 0-30 is fade-in 30-90 is loop, 90-120 is fade-out

I want to use effect.setCurrentTime to simulate the loop range, is there any way or workaround to do this ?

durswd commented 2 years ago

It need to wrap https://github.com/effekseer/Effekseer/blob/master/Dev/Cpp/Effekseer/Effekseer/Effekseer.Manager.cpp#L1503

scarletsky commented 2 years ago

@durswd OK, I will try to do that. 😄