addColor Method

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

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

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

Returns - void

Defined in

Last Updated: 16 April, 2024