Package vazkii.botania.client.fx
Interface BoltParticleOptions.FadeFunction
- Enclosing class:
BoltParticleOptions
public static interface BoltParticleOptions.FadeFunction
A bolt's fade function allows one to define lower and upper bounds on the bolt segments rendered based on
lifespan. This allows for dynamic 'fade-in' and
'fade-out' effects.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BoltParticleOptions.FadeFunctionNo fade; render the bolts entirely throughout their lifespan. -
Method Summary
Modifier and TypeMethodDescriptionfade(float fade) Render bolts with a segment-by-segment 'fade' in and out, with a specified fade duration (applied to start and finish).getRenderBounds(int totalBolts, float lifeScale)
-
Field Details
-
NONE
No fade; render the bolts entirely throughout their lifespan.
-
-
Method Details
-
fade
Render bolts with a segment-by-segment 'fade' in and out, with a specified fade duration (applied to start and finish). -
getRenderBounds
-