- Preparing search index...
- The search index is not available
Chess Bots 
 
Function timelineLayerToSpline
 
- timelineLayerToSpline(layer: { 
 remainingEvents: (({ type: "goto_point"; id: string; target: { type: SplinePointType.CubicBezier; controlPoint: { x: number; y: number; }; controlPoint2: { x: number; y: number; }; endPoint: { x: number; y: number; }; } | { ...; }; durationMs: number; }) | ({ type: "wait"; id: string; durationMs: number; }) | ({ type: "turn"; id: string; radians: number; durationMs: number; }))[];
 startPoint: { type: "start_point"; id: string; target: { type: SplinePointType.StartPoint; point: { x: number; y: number; }; }; durationMs: number; };
 }): Spline
- 
Parameters
- 
layer: { 
 remainingEvents: (({ type: "goto_point"; id: string; target: { type: SplinePointType.CubicBezier; controlPoint: { x: number; y: number; }; controlPoint2: { x: number; y: number; }; endPoint: { x: number; y: number; }; } | { ...; }; durationMs: number; }) | ({ type: "wait"; id: string; durationMs: number; }) | ({ type: "turn"; id: string; radians: number; durationMs: number; }))[];
 startPoint: { type: "start_point"; id: string; target: { type: SplinePointType.StartPoint; point: { x: number; y: number; }; }; durationMs: number; };
 }
- 
remainingEvents: (({ type: "goto_point"; id: string; target: { type: SplinePointType.CubicBezier; controlPoint: { x: number; y: number; }; controlPoint2: { x: number; y: number; }; endPoint: { x: number; y: number; }; } | { ...; }; durationMs: number; }) | ({ type: "wait"; id: string; durationMs: number; }) | ({ type: "turn"; id: string; radians: number; durationMs: number; }))[]
- 
startPoint: { type: "start_point"; id: string; target: { type: SplinePointType.StartPoint; point: { x: number; y: number; }; }; durationMs: number; }
 
 
 
 
 
 
Converts a timeline layer to a spline.
Returns