RailValue beta
Interface of @v12-engine/client
export interface RailValue extends Omit<CameraShot, 'x' | 'z' | 'yaw'>A run along a path of the map: from from to to of its length (0 its start, 1 its end; 0 and 1 when left out) between this key and the next, at the pose's distance and pitch; yaw a number, or along to look the way the path goes. smooth rounds the path's bends: the camera turns over a curve that starts before each point and ends after it, rather than at once at the point. The key after is where the camera cuts to when the rail ends
Members
from
from?: number;Where on the path's length the run starts, 0 its start to 1 its end; 0 when left out
rail
rail: string;The name of the map's path the camera runs along
smooth
smooth?: boolean | number;The path's bends rounded: true as wide as its legs allow (half of each), a number the units before and after each point the turn takes (no more than half of either leg). Straight from point to point, turning at once at each, when left out
to
to?: number;Where on the path's length the run ends, 0 to 1; 1 when left out
yaw
yaw?: number | 'along';The heading in radians, or 'along' to look the way the path goes