/// <summary> /// Transfer the values of this instance into the <paramref name="receiver"/>. /// </summary> /// <param name="receiver"></param> public void TransferInto(ParticleAttributes receiver) { if (receiver == null) { throw new ArgumentNullException(nameof(receiver)); } NativeHandle.TransferInto(receiver.NativeHandle); }
/// <summary> /// Resets this instance. The values are set to the values of <paramref name="copySource"/> unless it is null. /// </summary> /// <param name="copySource"></param> public void Reset(ParticleAttributes copySource) { if (copySource == null) { Reset(); } else { NativeHandle.Reset(copySource.NativeHandle); } }