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
- core/common/src/RenderSchedule.ts Line 1262
Last Updated: 30 November, 2023