Version: 2021.1
LanguageEnglish
  • C#

EmitParams

struct in UnityEngine

/

Implemented in:UnityEngine.ParticleSystemModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Switch to Manual

Description

Script interface for Particle System emission parameters.

Properties

angularVelocityOverride the angular velocity of particles this system emits.
angularVelocity3DOverride the 3D angular velocity of particles this system emits.
applyShapeToPositionWhen overriding the position of particles, setting this flag to true allows you to retain the influence of the shape module.
axisOfRotationOverride the axis of rotation of particles this system emits.
meshIndexSet the index that specifies which Mesh to emit.
particleOverride all the properties of particles this system emits.
positionOverride the position of particles this system emits.
randomSeedOverride the random seed of particles this system emits.
rotationOverride the rotation of particles this system emits.
rotation3DOverride the 3D rotation of particles this system emits.
startColorOverride the initial color of particles this system emits.
startLifetimeOverride the lifetime of particles this system emits.
startSizeOverride the initial size of particles this system emits.
startSize3DOverride the initial 3D size of particles this system emits.
velocityOverride the velocity of particles this system emits.

Public Methods

ResetAngularVelocityReverts angularVelocity and angularVelocity3D back to the values specified in the Inspector.
ResetAxisOfRotationRevert the axis of rotation back to the value specified in the Inspector.
ResetMeshIndexRevert the Mesh selection back to the default randomized behavior.
ResetPositionRevert the position back to the value specified in the Inspector.
ResetRandomSeedRevert the random seed back to the value specified in the Inspector.
ResetRotationReverts rotation and rotation3D back to the values specified in the Inspector.
ResetStartColorRevert the initial color back to the value specified in the Inspector.
ResetStartLifetimeRevert the lifetime back to the value specified in the Inspector.
ResetStartSizeRevert the initial size back to the value specified in the Inspector.
ResetVelocityRevert the velocity back to the value specified in the Inspector.