/// <inheritdoc/> public void AddCopyToCollection(ParticleParameterCollection collection) { // Add a parameter and copy the default value. collection.AddUniform <T>(Name).DefaultValue = DefaultValue; }
/// <inheritdoc/> public void AddCopyToCollection(ParticleParameterCollection collection) { // Add a parameter and copy the default value. collection.AddVarying <T>(Name).DefaultValue = ((IParticleParameter <T>) this).DefaultValue; }