@Override public void allocateChannels () { super.allocateChannels(); // Hack this allows to share the channel descriptor structure but using a different id temporary ParticleChannels.Interpolation.id = controller.particleChannels.newId(); alphaInterpolationChannel = controller.particles.addChannel(ParticleChannels.Interpolation); lifeChannel = controller.particles.addChannel(ParticleChannels.Life); }
@Override public void allocateChannels () { super.allocateChannels(); // Hack this allows to share the channel descriptor structure but using a different id temporary ParticleChannels.Interpolation.id = controller.particleChannels.newId(); alphaInterpolationChannel = controller.particles.addChannel(ParticleChannels.Interpolation); lifeChannel = controller.particles.addChannel(ParticleChannels.Life); }
@Override public void allocateChannels () { super.allocateChannels(); // Hack this allows to share the channel descriptor structure but using a different id temporary ParticleChannels.Interpolation.id = controller.particleChannels.newId(); alphaInterpolationChannel = controller.particles.addChannel(ParticleChannels.Interpolation); lifeChannel = controller.particles.addChannel(ParticleChannels.Life); }