public ChainLightningEffect(ChainLightningRenderer renderer, TimePoint start, Vector3 source, List <ChainLightningTarget> targets) { _renderer = renderer; _start = start; _source = source; _targets = targets; }
public void SetUp() { // Fixed seed ensures this test is repeatable ThreadSafeRandom.Seed = 12345; _renderer = new ChainLightningRenderer(Device, MdfFactory, new PerlinNoise()); }