LiteFeatureRenderer beta
Interface of @v12-engine/client
ts
export interface LiteFeatureRendererOne thing a game draws by itself on the renderer: the client's FeatureRenderer, member for member
Members
dispose
ts
dispose(): void;Takes away what it made and stops its frames
frame
ts
frame(alpha: number, dt: number): void;A frame. alpha is how far between the previous and the current tick it is, dt the seconds since the last
sync
ts
sync?(changes: StateChanges): void;Follows what a snapshot changed: what came into view, left it, and what happened