Пример #1
0
        /// <summary>
        /// Returns a particle emitter on the basis of a given slot.
        /// </summary>
        /// <returns>The particle emitter.</returns>
        /// <param name="slot">Slot.</param>
        public ParticleEmitter GetParticleEmitter(int slot)
        {
            var nativeEmitter = NativeHandle.GetParticleEmitter(slot);

            return(nativeEmitter == null ? null : new ParticleEmitter(nativeEmitter));
        }
Пример #2
0
 /// <summary>
 /// Returns a particle emitter on the basis of a given slot.
 /// </summary>
 /// <returns>The particle emitter.</returns>
 /// <param name="slot">Slot.</param>
 public IParticleEmitter GetParticleEmitter(int slot)
 {
     return(NativeHandle.GetParticleEmitter(slot));
 }