Axiom.ParticleFX.RotationAffector.InitParticle C# (CSharp) Method

InitParticle() public method

public InitParticle ( Particle &particle ) : void
particle Axiom.ParticleSystems.Particle
return void
		public override void InitParticle( ref Particle particle )
		{
			particle.Rotation = rotationRangeStart + ( Utility.UnitRandom() * ( rotationRangeEnd - rotationRangeStart ) );
			particle.RotationSpeed = rotationSpeedRangeStart + ( Utility.UnitRandom() * ( rotationSpeedRangeEnd - rotationSpeedRangeStart ) );
		}