# SpeedByLife模块
# 概述
SpeedByLife(速度变化模块),用于设置粒子生命周期中速度的变化。
若属性的类型为 Curve 或者TwoCurves,可以点击曲线,并将 inspector 最底部的Particle Curve向上拖动,即可出现曲线编辑器,通过可右键增加关键帧,并调整曲线的变化。
# 属性描述
属性 | 功能 | 类型 |
---|---|---|
x | 在 X 轴上的速度。 | engine.Particle.AdvancedProperty.ConstantProperty engine.Particle.AdvancedProperty.TwoConstantsProperty engine.Particle.AdvancedProperty.CurveProperty engine.Particle.AdvancedProperty.TwoCurvesProperty |
y | 在 Y 轴上的速度。 | engine.Particle.AdvancedProperty.ConstantProperty engine.Particle.AdvancedProperty.TwoConstantsProperty engine.Particle.AdvancedProperty.CurveProperty engine.Particle.AdvancedProperty.TwoCurvesProperty |
z | 在 Z 轴上的速度。 | engine.Particle.AdvancedProperty.ConstantProperty engine.Particle.AdvancedProperty.TwoConstantsProperty engine.Particle.AdvancedProperty.CurveProperty engine.Particle.AdvancedProperty.TwoCurvesProperty |