Package net.ixdarklord.coolcatcanvas.api.client.vfx
package net.ixdarklord.coolcatcanvas.api.client.vfx
-
ClassDescriptionA value over a lifetime, in three points: it eases from
starttomiddleover the first half, then frommiddletoendover the second.What a kind of effect particle looks like and how it lives, built once and spawned many times withWorldParticles.How a particle's quad is laid in the world.A rift in the world, fromWorldRifts.open(RiftSpec, Vec3).What a rift looks and sounds like: a tear in the air that opens, hangs there, and closes.The path something moved along over its last few ticks, drawn as a ribbon withVfxDraw.trail(Trail, Curve, int, int).How a world effect combines with the scene behind it.Draws shapes of oneVfxMaterialinto the world for the current frame, from aVfxRenderer.A named world effect a client can play: usually a fewWorldParticlesandWorldVfxcalls.World effects by name, so the server can start them withVfxControl.play.The frame aVfxRendereris drawing into.What a world effect is drawn with: a texture, how it blends, and how softly it meets solid things.Draws world effects each frame; registered withWorldVfx.register(Identifier, VfxRenderer).Spawns effect particles (ParticleSpec) in the world the client is in.Rifts: tears in the air, drawn by a shader (VfxMaterial.RIFT_SHADER) and run through three acts.World effects: glowing shapes drawn in the world, after everything else in it and before the player's hand.