addColor Method

Append a new ColorEntry to the timeline. time must be more recent than any previously-appended color entries.

addColor(time: number, color: RgbColor | { blue: number, green: number, red: number }, interpolation: RenderSchedule.InterpolationInterpolation.Linear): void

Parameter Type Description
time number  
color RgbColor | { blue: number, green: number, red: number }  
interpolation RenderSchedule.Interpolation  

Returns - void

Defined in

Last Updated: 17 December, 2024