コード例 #1
0
 public ParticleEmitter(ParticleSystem system)
 {
     this.particleSystem = system;
 }
コード例 #2
0
        public PointEmitter(ParticleSystem system, EmitterParameters parameters,IParticleClass particleClass)
            : base(system)
        {
            this.emitterParameters = parameters;
            this.particleClass = particleClass;
            timeSinceLastEmit = parameters.ParticleReuse;

            Position = new MyVector(0, 0, 0);
            Velocity = new MyVector(0, 0, 0);
            Orientation = MyQuaternion.FromEulerAngles(0, 0, 0);
        }