C# Class UnityEngine.ParticleEmitter

Inheritance: Component
ファイルを表示 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
ClearParticles ( ) : void

Removes all particles from the particle emitter.

Emit ( ) : void

Emit a number of particles.

Emit ( Vector3 pos, Vector3 velocity, float size, float energy, Color color ) : void

Emit a single particle with given parameters.

Emit ( Vector3 pos, Vector3 velocity, float size, float energy, Color color, float rotation, float angularVelocity ) : void

Emit ( int count ) : void

Emit count particles immediately.

Private Methods

Method Description
Emit2 ( int count ) : void
Emit3 ( InternalEmitParticleArguments &args ) : void
INTERNAL_CALL_ClearParticles ( ParticleEmitter self ) : void
INTERNAL_get_localVelocity ( Vector3 &value ) : void
INTERNAL_get_rndVelocity ( Vector3 &value ) : void
INTERNAL_get_worldVelocity ( Vector3 &value ) : void
INTERNAL_set_localVelocity ( Vector3 &value ) : void
INTERNAL_set_rndVelocity ( Vector3 &value ) : void
INTERNAL_set_worldVelocity ( Vector3 &value ) : void
ParticleEmitter ( ) : System
Simulate ( float deltaTime ) : void

Method Details

ClearParticles() public method

Removes all particles from the particle emitter.

public ClearParticles ( ) : void
return void

Emit() public method

Emit a number of particles.

public Emit ( ) : void
return void

Emit() public method

Emit a single particle with given parameters.

public Emit ( Vector3 pos, Vector3 velocity, float size, float energy, Color color ) : void
pos Vector3 The position of the particle.
velocity Vector3 The velocity of the particle.
size float The size of the particle.
energy float The remaining lifetime of the particle.
color Color The color of the particle.
return void

Emit() public method

public Emit ( Vector3 pos, Vector3 velocity, float size, float energy, Color color, float rotation, float angularVelocity ) : void
pos Vector3
velocity Vector3
size float
energy float
color Color
rotation float The initial rotation of the particle in degrees.
angularVelocity float The angular velocity of the particle in degrees per second.
return void

Emit() public method

Emit count particles immediately.

public Emit ( int count ) : void
count int
return void