Class ScaleStorage
java.lang.Object
team.lodestar.lodestone.modules.rendering.particle.component.types.scale.ScaleStorage
- All Implemented Interfaces:
PreRenderComponent,ParticleComponentStorage<ScaleConfig>
public class ScaleStorage
extends Object
implements ParticleComponentStorage<ScaleConfig>, PreRenderComponent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonSpawn(int particleIndex, ScaleConfig config, ParticleSpawnContext spawnContext, ParticleView particles) voidonSwapRemove(int deadIndex, int movedIndex, ParticleView particles) voidpreRender(int liveCount, ParticleView particles)
-
Constructor Details
-
ScaleStorage
public ScaleStorage(int capacity)
-
-
Method Details
-
preRender
- Specified by:
preRenderin interfacePreRenderComponent
-
onSpawn
public void onSpawn(int particleIndex, ScaleConfig config, ParticleSpawnContext spawnContext, ParticleView particles) - Specified by:
onSpawnin interfaceParticleComponentStorage<ScaleConfig>
-
onSwapRemove
- Specified by:
onSwapRemovein interfaceParticleComponentStorage<ScaleConfig>
-