RotationAffector
Declaration
public class Strawberry.Graphics.ParticleSystem.RotationAffector
Affector that modifies particle rotation over time
Implements: Strawberry.Graphics.ParticleSystem.IParticleAffector
Constructors
RotationAffector
void RotationAffector()
RotationAffector
void RotationAffector(float startAngularVelocity, float endAngularVelocity)
Parameters:
| Name | Type | Description |
|---|---|---|
startAngularVelocity |
System.Single |
|
endAngularVelocity |
System.Single |
Fields
AngularVelocityCurve
InterpolationCurve AngularVelocityCurve
Methods
Update
void Update(ref Particle particle, float dt)
Parameters:
| Name | Type | Description |
|---|---|---|
particle |
ref Strawberry.Graphics.ParticleSystem.Particle |
|
dt |
System.Single |