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 emitted particles.
angularVelocity3DOverride the 3D angular velocity of emitted particles.
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 emitted particles.
meshIndexSet the mesh index used for choosing which mesh to emit.
particleOverride all the properties of emitted particles.
positionOverride the position of emitted particles.
randomSeedOverride the random seed of emitted particles.
rotationOverride the rotation of emitted particles.
rotation3DOverride the 3D rotation of emitted particles.
startColorOverride the initial color of emitted particles.
startLifetimeOverride the lifetime of emitted particles.
startSizeOverride the initial size of emitted particles.
startSize3DOverride the initial 3D size of emitted particles.
velocityOverride the velocity of emitted particles.

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.
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答