VelocityOverLifetimeModule
struct in UnityEngine
/
Implemented in:UnityEngine.ParticleSystemModule
Switch to Manual
Description 描述
Script interface for the Velocity Over Lifetime module.
This module sets the velocity of particles during their lifetime.
See Also: ParticleSystem, ParticleSystem.velocityOverLifetime.
Properties 属性
| enabled | Enable/disable the Velocity Over Lifetime module. | ||
| orbitalOffsetX | Specify a custom center of rotation for the orbital and radial velocities. | ||
| orbitalOffsetXMultiplier | This method is more efficient than accessing the whole curve, if you only want to change the overall offset multiplier. | ||
| orbitalOffsetY | Specify a custom center of rotation for the orbital and radial velocities. | ||
| orbitalOffsetYMultiplier | This method is more efficient than accessing the whole curve, if you only want to change the overall offset multiplier. | ||
| orbitalOffsetZ | Specify a custom center of rotation for the orbital and radial velocities. | ||
| orbitalOffsetZMultiplier | This method is more efficient than accessing the whole curve, if you only want to change the overall offset multiplier. | ||
| orbitalX | Curve to control particle speed based on lifetime, around the X axis. | ||
| orbitalXMultiplier | X axis speed multiplier. | ||
| orbitalY | Curve to control particle speed based on lifetime, around the Y axis. | ||
| orbitalYMultiplier | Y axis speed multiplier. | ||
| orbitalZ | Curve to control particle speed based on lifetime, around the Z axis. | ||
| orbitalZMultiplier | Z axis speed multiplier. | ||
| radial | Curve to control particle speed based on lifetime, away from a center position. | ||
| radialMultiplier | Radial speed multiplier. | ||
| space | Specifies if the velocities are in local space (rotated with the transform) or world space. | ||
| speedModifier | Curve to control particle speed based on lifetime, without affecting the direction of the particles. | ||
| speedModifierMultiplier | Speed multiplier. | ||
| x | Curve to control particle speed based on lifetime, on the X axis. | ||
| xMultiplier | X axis speed multiplier. | ||
| y | Curve to control particle speed based on lifetime, on the Y axis. | ||
| yMultiplier | Y axis speed multiplier. | ||
| z | Curve to control particle speed based on lifetime, on the Z axis. | ||
| zMultiplier | Z axis speed multiplier. |