public abstract static class DynamicsModifier.Strength extends DynamicsModifier
DynamicsModifier.Angular, DynamicsModifier.BrownianAcceleration, DynamicsModifier.CentripetalAcceleration, DynamicsModifier.FaceDirection, DynamicsModifier.PolarAcceleration, DynamicsModifier.Rotational2D, DynamicsModifier.Rotational3D, DynamicsModifier.Strength, DynamicsModifier.TangentialAcceleration
Modifier and Type | Field and Description |
---|---|
ScaledNumericValue |
strengthValue |
isGlobal
Constructor and Description |
---|
DynamicsModifier.Strength() |
DynamicsModifier.Strength(DynamicsModifier.Strength rotation) |
Modifier and Type | Method and Description |
---|---|
void |
activateParticles(int startIndex,
int count)
Called to initialize new emitted particles.
|
void |
allocateChannels()
Called during initialization to allocate additional particles channels
|
void |
read(Json json,
JsonValue jsonData) |
void |
write(Json json) |
public ScaledNumericValue strengthValue
public DynamicsModifier.Strength()
public DynamicsModifier.Strength(DynamicsModifier.Strength rotation)
public void allocateChannels()
ParticleControllerComponent
allocateChannels
in class DynamicsModifier
public void activateParticles(int startIndex, int count)
ParticleControllerComponent
activateParticles
in class ParticleControllerComponent
public void write(Json json)
write
in interface Json.Serializable
write
in class DynamicsModifier
public void read(Json json, JsonValue jsonData)
read
in interface Json.Serializable
read
in class DynamicsModifier
Copyright © 2014. All rights reserved.