Ctrl+K

ColorGradient

Declaration

public class Strawberry.Graphics.ParticleSystem.ColorGradient

Helper for color gradients used to interpolate particle color over time.

Properties

KeyframeCount

int KeyframeCount { get }

Methods

AddKeyframe

void AddKeyframe(float time, Color color)

Parameters:

Name Type Description
time System.Single
color Strawberry.Graphics.Color

Clear

void Clear()

Evaluate

Color Evaluate(float t)

Parameters:

Name Type Description
t System.Single