HomeSort by relevance Sort by last modified time
    Searched refs:lifeChannel (Results 1 - 5 of 5) sorted by null

  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/emitters/
RegularEmitter.java 38 private FloatChannel lifeChannel;
61 lifeChannel = controller.particles.addChannel(ParticleChannels.Life);
106 for(int i=startIndex*lifeChannel.strideSize, c = i +count*lifeChannel.strideSize; i < c; i+=lifeChannel.strideSize){
107 lifeChannel.data[i+ParticleChannels.CurrentLifeOffset] = currentLife;
108 lifeChannel.data[i+ParticleChannels.TotalLifeOffset] = currentTotaLife;
109 lifeChannel.data[i+ParticleChannels.LifePercentOffset] = lifePercent;
154 if ( (lifeChannel.data[k+ParticleChannels.CurrentLifeOffset] -= deltaMillis) <= 0) {
159 lifeChannel.data[k+ParticleChannels.LifePercentOffset] = 1- lifeChannel.data[k+ParticleChannels.CurrentLifeOff (…)
    [all...]
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/influencers/
ColorInfluencer.java 45 FloatChannel lifeChannel;
71 lifeChannel = controller.particles.addChannel(ParticleChannels.Life);
78 l = startIndex*lifeChannel.strideSize + ParticleChannels.LifePercentOffset,
83 l +=lifeChannel.strideSize){
87 colorChannel.data[i+ParticleChannels.AlphaOffset] = alphaStart + alphaDiff*alphaValue.getScale(lifeChannel.data[l]);
98 i +=colorChannel.strideSize, a +=alphaInterpolationChannel.strideSize, l +=lifeChannel.strideSize){
100 float lifePercent = lifeChannel.data[l];
SimpleInfluencer.java 16 FloatChannel valueChannel, interpolationChannel, lifeChannel;
39 lifeChannel = controller.particles.addChannel(ParticleChannels.Life);
71 i +=valueChannel.strideSize, a +=interpolationChannel.strideSize, l +=lifeChannel.strideSize){
74 interpolationChannel.data[a +ParticleChannels.InterpolationDiffOffset] * value.getScale(lifeChannel.data[l]);
DynamicsModifier.java 203 s += strengthChannel.strideSize, i +=rotationalVelocity2dChannel.strideSize, l +=lifeChannel.strideSize){
205 strengthChannel.data[s + ParticleChannels.VelocityStrengthDiffOffset]* strengthValue.getScale(lifeChannel.data[l]);
262 a += angularChannel.strideSize, l += lifeChannel.strideSize){
264 float lifePercent = lifeChannel.data[l],
322 lifeOffset += lifeChannel.strideSize){
325 strengthChannel.data[strengthOffset + ParticleChannels.VelocityStrengthDiffOffset]* strengthValue.getScale(lifeChannel.data[lifeOffset]);
362 a += angularChannel.strideSize, l += lifeChannel.strideSize){
364 float lifePercent = lifeChannel.data[l],
409 a += angularChannel.strideSize, l += lifeChannel.strideSize, positionOffset += positionChannel.strideSize ){
411 float lifePercent = lifeChannel.data[l]
    [all...]
RegionInfluencer.java 90 FloatChannel lifeChannel;
107 lifeChannel = controller.particles.addChannel(ParticleChannels.Life);
115 i +=regionChannel.strideSize, l +=lifeChannel.strideSize){
116 AspectTextureRegion region = regions.get( (int)(lifeChannel.data[l]*(regions.size-1)));

Completed in 120 milliseconds