/// <summary> /// Destroy a ParticleVisualData instance. /// </summary> /// <remarks> /// If this renderer needs additional data in each particle, then this should /// be held in an instance of a subclass of ParticleVisualData, and this method /// should be overridden to destroy an instance of it. The default /// behaviour is to do nothing. /// </remarks> public virtual void DestroyVisualData(ParticleVisualData vis) { /* assert (vis == 0); */ }
public void NotifyVisualData(ParticleVisualData vdata) { visual = vdata; }
public void NotifyVisualData(ParticleVisualData vdata) { this.visual = vdata; }
/** Destroy a ParticleVisualData instance. * @remarks * If this renderer needs additional data in each particle, then this should * be held in an instance of a subclass of ParticleVisualData, and this method * should be overridden to destroy an instance of it. The default * behaviour is to do nothing. */ public virtual void DestroyVisualData(ParticleVisualData vis) { Debug.Assert(vis == null); }