![]() Public Image Sprite //The texture used for the particle. Public NumberRange Speed = new NumberRange ( 50, 100 ) //Determines the maximum and minimum speed a particle will have when it is emitted. Public NumberSequence Size = new NumberSequence ( 5.0 ) //Determines the size of particles over time. Public NumberRange Rotation = new NumberRange ( 0 ) //Determines the maximum and minimum rotation applied to a particle when it is created. Public NumberRange RotSpeed = new NumberRange ( 0 ) //Determines the maximum and minimum rate of rotation for each particle created by the emitter. Public double Rate = 50.0 //The rate at which particles are emitted per second. ![]() Public bool LockedToParent = false //Determines whether the particles rigidly move with the Parent they're being emitted from. Public double LightEmission = 0.0 //Sets how much the colors of the emitter's particles are blended with other particles. ![]() Public NumberRange LifeTime = new NumberRange ( 5 ) //Defines the maximum and minimum lifetime of a particle created by the emitter. Public bool Enabled = true //Toggles whether or not the ParticleEmitter is emitting particles. Public Vector EmissionDirection = new Vector ( 0, 1 ) //The direction where the particles emit towards. Public double Drag = 0.0 //Determines how much the particles slow down. White ) //Determines the color of the particle when it first spawns, and the color of the particle at the end of its lifetime. Public ColorSequence ParticleColor = new ColorSequence (Color. Zero //Applies constant acceleration in world coordinates to all particles created by the emitter. Zero //Origin of the emitter if Parent is not defined. Public PhysicsObject Parent //Origin of the emitter ![]() Protected List ParticleList = new List ( ) By default the particles move in the positive y-direction in the global space. A particle emitter spawns particles at a constant rate anywhere within the volume of its Parent. These particles are customizable in terms of texture, size, color, transparency, and speed. The ParticleEmitter creates a stream of particles eminating from the emitter's Parent or a given origin. ![]() _rotation = value % 360 //TODO: Should I replace this with (-180, 180) instead of (0, 360) ? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |