addTransform Method

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

addTransform(time: number, transform: undefined | Readonly<Transform>, components?: { orientation: Point4d, pivot: Readonly<WritableXYAndZ>, position: Readonly<WritableXYAndZ> }, interpolation: RenderSchedule.Interpolation = Interpolation.Linear): void

Parameter Type Description
time number  
transform undefined | Readonly<Transform>  
components { orientation: Point4d, pivot: Readonly<WritableXYAndZ>, position: Readonly<WritableXYAndZ> }  
interpolation RenderSchedule.Interpolation  

Returns - void

Defined in

Last Updated: 20 June, 2023