Package foundry.veil.api.quasar.particle
Class RenderStyle.Billboard
java.lang.Object
foundry.veil.api.quasar.particle.RenderStyle.Billboard
- All Implemented Interfaces:
RenderStyle
- Enclosing interface:
RenderStyle
-
Nested Class Summary
Nested classes/interfaces inherited from interface foundry.veil.api.quasar.particle.RenderStyle
RenderStyle.Billboard, RenderStyle.Cube
-
Field Summary
Fields inherited from interface foundry.veil.api.quasar.particle.RenderStyle
CODEC
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
render
(MatrixStack matrixStack, QuasarParticle particle, RenderData renderData, org.joml.Vector3fc renderOffset, com.mojang.blaze3d.vertex.VertexConsumer builder, double ageModifier, float partialTicks) Draws a single particle.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.particle.RenderStyle
clear, getRenderType, setup
-
Constructor Details
-
Billboard
public Billboard()
-
-
Method Details
-
render
public void render(MatrixStack matrixStack, QuasarParticle particle, RenderData renderData, org.joml.Vector3fc renderOffset, com.mojang.blaze3d.vertex.VertexConsumer builder, double ageModifier, float partialTicks) Description copied from interface:RenderStyle
Draws a single particle.- Specified by:
render
in interfaceRenderStyle
- Parameters:
matrixStack
- The current stack of matrix transformationsparticle
- The particle to renderrenderData
- The render data associated with that particlerenderOffset
- The offset from the camera to draw the particle atbuilder
- The vertex consumer to draw intopartialTicks
- The percentage from last tick to this tick
-