Ejemplo n.º 1
0
        /// <summary>
        ///   <para></para>
        /// </summary>
        /// <param name="rotation">The initial rotation of the particle in degrees.</param>
        /// <param name="angularVelocity">The angular velocity of the particle in degrees per second.</param>
        /// <param name="pos"></param>
        /// <param name="velocity"></param>
        /// <param name="size"></param>
        /// <param name="energy"></param>
        /// <param name="color"></param>
        public void Emit(Vector3 pos, Vector3 velocity, float size, float energy, Color color, float rotation, float angularVelocity)
        {
            InternalEmitParticleArguments internalEmitParticleArguments = default(InternalEmitParticleArguments);

            internalEmitParticleArguments.pos             = pos;
            internalEmitParticleArguments.velocity        = velocity;
            internalEmitParticleArguments.size            = size;
            internalEmitParticleArguments.energy          = energy;
            internalEmitParticleArguments.color           = color;
            internalEmitParticleArguments.rotation        = rotation;
            internalEmitParticleArguments.angularVelocity = angularVelocity;
            this.Emit3(ref internalEmitParticleArguments);
        }
Ejemplo n.º 2
0
 public void Emit(Vector3 pos, Vector3 velocity, float size, float energy, Color color, float rotation, float angularVelocity)
 {
     InternalEmitParticleArguments args = new InternalEmitParticleArguments {
         pos = pos,
         velocity = velocity,
         size = size,
         energy = energy,
         color = color,
         rotation = rotation,
         angularVelocity = angularVelocity
     };
     this.Emit3(ref args);
 }
Ejemplo n.º 3
0
        public void Emit(Vector3 pos, Vector3 velocity, float size, float energy, Color color)
        {
            InternalEmitParticleArguments args = default(InternalEmitParticleArguments);

            args.pos             = pos;
            args.velocity        = velocity;
            args.size            = size;
            args.energy          = energy;
            args.color           = color;
            args.rotation        = 0f;
            args.angularVelocity = 0f;
            Emit3(ref args);
        }
Ejemplo n.º 4
0
        public void Emit(Vector3 pos, Vector3 velocity, float size, float energy, Color color, float rotation, float angularVelocity)
        {
            InternalEmitParticleArguments args = new InternalEmitParticleArguments {
                pos             = pos,
                velocity        = velocity,
                size            = size,
                energy          = energy,
                color           = color,
                rotation        = rotation,
                angularVelocity = angularVelocity
            };

            this.Emit3(ref args);
        }
Ejemplo n.º 5
0
 private extern void Emit3(ref InternalEmitParticleArguments args);
Ejemplo n.º 6
0
		private extern void Emit3(ref InternalEmitParticleArguments args);
Ejemplo n.º 7
0
 private void Emit3(ref InternalEmitParticleArguments args)
 {
     throw new NotImplementedException("なにこれ");
 }