Skip to content

PathKey beta ​

Interface of @v12-engine/editor

ts
export interface PathKey

A key of a camera lane on the ground: where its point is, and its handles where a bezier comes to it or leaves it

Members ​

at ​

ts
at: number;

The key's time, in seconds

fixed ​

ts
fixed: boolean;

Its point is a view's of the map, or a rail's: drawn, not dragged (the view is moved in the editor, the rail is the map's path)

in ​

ts
in?: Vec2;

The handle the curve to it is pulled by (its own path is bezier), as a point of the map

out ​

ts
out?: Vec2;

The handle the curve from it is pulled by (the next key's path is bezier), as a point of the map

point ​

ts
point: Vec2;

The key's ground point, as a point of the map

ref ​

ts
ref: ItemRef;

The key's item, in its lane