EmittersShapes/ConchplexPointEmitter.cs

A concrete particle emitter class for the Conchplex particle system. It emits a single particle at the emitter's world position by calling the target ParticleEffect.Emit method with a position and velocity (Delta).

using Sandbox;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConchplexEmitters;

[Title("Conchplex Point Emitter"), Category("Particles"), Icon("adjust")]
public sealed class ConchplexPointEmitter : ConchplexEmitter
{
	public override Particle Emit(ParticleEffect target)
	{
		return target.Emit(WorldPosition, Delta);
	}
}