Uses of Interface
hm.zelha.particlesfx.util.ShapeDisplayMechanic
Packages that use ShapeDisplayMechanic
-
Uses of ShapeDisplayMechanic in hm.zelha.particlesfx.shapers.parents
Fields in hm.zelha.particlesfx.shapers.parents with type parameters of type ShapeDisplayMechanicModifier and TypeFieldDescriptionprotected final List<Pair<ShapeDisplayMechanic, ShapeDisplayMechanic.Phase>> ParticleShaper.mechanicsMethods in hm.zelha.particlesfx.shapers.parents with parameters of type ShapeDisplayMechanicModifier and TypeMethodDescriptionvoidParticleShaper.addMechanic(ShapeDisplayMechanic.Phase phase, ShapeDisplayMechanic mechanic) voidShape.addMechanic(ShapeDisplayMechanic.Phase phase, ShapeDisplayMechanic mechanic) Similar toConsumer
in the case of phasesShapeDisplayMechanic.Phase.BEFORE_ROTATIONandShapeDisplayMechanic.Phase.AFTER_ROTATIONthe given mechanic will run before the location is modified to display the next particle, allowing you to modify the addition vector however you want, though doing so may be very volatile
keep in mind that all changes to the given objects will be reflected in the display() method, and considering that the display() method often displays hundreds of particles, try to make sure the mechanic isn't very resource-intensive
apply(Particle, Location, Vector, int) -
Uses of ShapeDisplayMechanic in hm.zelha.particlesfx.util
Methods in hm.zelha.particlesfx.util with parameters of type ShapeDisplayMechanicModifier and TypeMethodDescriptionvoidParticleShapeCompound.addMechanic(ShapeDisplayMechanic.Phase phase, ShapeDisplayMechanic mechanic)