Class ColorRenderModule
java.lang.Object
foundry.veil.api.quasar.emitters.module.render.ColorRenderModule
- All Implemented Interfaces:
ParticleModule
,RenderParticleModule
-
Constructor Summary
ConstructorDescriptionColorRenderModule
(ColorGradient gradient, gg.moonflower.molangcompiler.api.MolangExpression interpolant) -
Method Summary
Modifier and TypeMethodDescriptionvoid
render
(QuasarParticle particle, float partialTicks) Called each frame to update render data ifRenderParticleModule.isEnabled()
istrue
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface foundry.veil.api.quasar.emitters.module.ParticleModule
onRemove
Methods inherited from interface foundry.veil.api.quasar.emitters.module.RenderParticleModule
isEnabled
-
Constructor Details
-
ColorRenderModule
public ColorRenderModule(ColorGradient gradient, gg.moonflower.molangcompiler.api.MolangExpression interpolant)
-
-
Method Details
-
render
Description copied from interface:RenderParticleModule
Called each frame to update render data ifRenderParticleModule.isEnabled()
istrue
.- Specified by:
render
in interfaceRenderParticleModule
- Parameters:
particle
- The particle to update forpartialTicks
- The percentage from last tick to this tick
-