Select your preferred scripting language. All code snippets will be displayed in this language.
struct in UnityEngine
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.
CloseScript interface for particle emission parameters.
angularVelocity | Override the angular velocity of emitted particles. |
angularVelocity3D | Override the 3D angular velocity of emitted particles. |
applyShapeToPosition | When overriding the position of particles, setting this flag to true allows you to retain the influence of the shape module. |
axisOfRotation | Override the axis of rotation of emitted particles. |
position | Override the position of emitted particles. |
randomSeed | Override the random seed of emitted particles. |
rotation | Override the rotation of emitted particles. |
rotation3D | Override the 3D rotation of emitted particles. |
startColor | Override the initial color of emitted particles. |
startLifetime | Override the lifetime of emitted particles. |
startSize | Override the initial size of emitted particles. |
startSize3D | Override the initial 3D size of emitted particles. |
velocity | Override the velocity of emitted particles. |
ResetAngularVelocity | Reverts angularVelocity and angularVelocity3D back to the values specified in the inspector. |
ResetAxisOfRotation | Revert the axis of rotation back to the value specified in the inspector. |
ResetPosition | Revert the position back to the value specified in the inspector. |
ResetRandomSeed | Revert the random seed back to the value specified in the inspector. |
ResetRotation | Reverts rotation and rotation3D back to the values specified in the inspector. |
ResetStartColor | Revert the initial color back to the value specified in the inspector. |
ResetStartLifetime | Revert the lifetime back to the value specified in the inspector. |
ResetStartSize | Revert the initial size back to the value specified in the inspector. |
ResetVelocity | Revert the velocity back to the value specified in the inspector. |