Interface RenderParticleModule
- All Superinterfaces:
ParticleModule
- All Known Implementing Classes:
ColorRenderModule
,CustomLightModule
,DynamicLightModule
,StaticLightModule
A module instance called once per frame.
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
void
render
(QuasarParticle particle, float partialTicks) Called each frame to update render data ifisEnabled()
istrue
.Methods inherited from interface foundry.veil.api.quasar.emitters.module.ParticleModule
onRemove
-
Method Details
-
render
Called each frame to update render data ifisEnabled()
istrue
.- Parameters:
particle
- The particle to update forpartialTicks
- The percentage from last tick to this tick
-
isEnabled
default boolean isEnabled()- Returns:
- Whether this module is enabled and should be considered for the next few frames
-