Ctrl+K

ScaleAffector

Declaration

public class Strawberry.Graphics.ParticleSystem.ScaleAffector

Affector that scales particle size over their lifetime

Implements: Strawberry.Graphics.ParticleSystem.IParticleAffector

Constructors

ScaleAffector

void ScaleAffector()

ScaleAffector

void ScaleAffector(float startScale, float endScale)

Parameters:

Name Type Description
startScale System.Single
endScale System.Single

Fields

ScaleCurve

InterpolationCurve ScaleCurve

Methods

Update

void Update(ref Particle particle, float dt)

Parameters:

Name Type Description
particle ref Strawberry.Graphics.ParticleSystem.Particle
dt System.Single