m4m.framework.ParticleInheritVelocityModule
Last updated
Last updated
/ / / / ParticleInheritVelocityModule
..ParticleInheritVelocityModule
The Inherit Velocity Module controls how the velocity of the emitter is transferred to the particles as they are emitted.
遗传速度模块控制发射体的速度在粒子发射时如何传递到粒子上。(只有粒子系统在世界空间中模拟时生效)
↳ ParticleInheritVelocityModule
• __class__: "m4m.framework.ParticleInheritVelocityModule"
Defined in
• enabled: boolean
= false
是否开启
Inherited from
Defined in
How to apply emitter velocity to particles.
如何将发射体速度应用于粒子。
Defined in
Curve to define how much emitter velocity is applied during the lifetime of a particle.
曲线,用来定义在粒子的生命周期内应用了多少发射速度。
Defined in
粒子系统
Inherited from
Defined in
• new ParticleInheritVelocityModule()
Inherited from
Curve to define how much emitter velocity is applied during the lifetime of a particle.
曲线,用来定义在粒子的生命周期内应用了多少发射速度。
Returns
Defined in
• set
curve(v
): void
Curve to define how much emitter velocity is applied during the lifetime of a particle.
曲线,用来定义在粒子的生命周期内应用了多少发射速度。
Parameters
v
Returns
void
Defined in
• get
curveMultiplier(): number
Change the curve multiplier.
改变曲线的乘数。
Returns
number
Defined in
• set
curveMultiplier(v
): void
Change the curve multiplier.
改变曲线的乘数。
Parameters
v
number
Returns
void
Defined in
▸ initParticleState(particle
): void
初始化粒子状态
Parameters
particle
粒子
Returns
void
Overrides
Defined in
▸ updateParticleState(particle
): void
更新粒子状态
Parameters
particle
粒子
Returns
void
Overrides
Defined in
.
• mode: = ParticleSystemInheritVelocityMode.Initial
• multiplier:
• particleSystem:
.
.
• get
curve():
.
.