# SizeByLife模块
# 概述
SizeByLife(大小变化模块),用于设置粒子生命周期中大小的变化。
# 属性描述
属性 | 功能 | 类型 |
---|---|---|
separateAxes | 是否在每个轴上独立控制粒子大小。X表示宽,Y表示高,Z表示深度(仅在 Mesh 类型粒子有效)。 | boolean |
x | separateAxes为 false 时,表示粒子 XYZ 轴大小在其整个生命周期中的变化,在工具中显示为size separateAxes为 true 时,表示粒子 X 轴大小在其生命周期中的变化。 | engine.Particle.AdvancedProperty.ConstantProperty engine.Particle.AdvancedProperty.TwoConstantsProperty engine.Particle.AdvancedProperty.CurveProperty engine.Particle.AdvancedProperty.TwoCurvesProperty |
y | separateAxes为 true 时,表示粒子 Y 轴大小在其生命周期中的变化。 | engine.Particle.AdvancedProperty.ConstantProperty engine.Particle.AdvancedProperty.TwoConstantsProperty engine.Particle.AdvancedProperty.CurveProperty engine.Particle.AdvancedProperty.TwoCurvesProperty |
z | separateAxes为 true 时,表示粒子 Z 轴大小在其生命周期中的变化。 | engine.Particle.AdvancedProperty.ConstantProperty engine.Particle.AdvancedProperty.TwoConstantsProperty engine.Particle.AdvancedProperty.CurveProperty engine.Particle.AdvancedProperty.TwoCurvesProperty |