# RotationByLife模块
# 概述
RotationByLife(旋转变化模块),用于设置粒子生命周期中旋转的变化。
# 属性描述
属性 | 功能 | 类型 |
---|---|---|
separateAxes | 是否在 XYZ 轴上分别控制粒子的旋转。 | boolean |
x | 若 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 | 表示在 Z 轴方向旋转的角速度,若 separateAxes 为false时,工具显示为Rotation。 | engine.Particle.AdvancedProperty.ConstantProperty engine.Particle.AdvancedProperty.TwoConstantsProperty engine.Particle.AdvancedProperty.CurveProperty engine.Particle.AdvancedProperty.TwoCurvesProperty |