# RotationByLife模块

# 概述

RotationByLife(旋转变化模块),用于设置粒子生命周期中旋转的变化。

image.png

# 属性描述

属性 功能 类型
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