Skip to content

Outline beta ​

Interface of @v12-engine/render

ts
export interface Outline

A way of drawing an outline: written in place by who owns it, read each frame

Members ​

colour ​

ts
colour: [number, number, number];

Its colour

glow ​

ts
glow: boolean;

A glow out from the silhouette, not a line (OutlineLook.glow)

remove ​

ts
remove(): void;

Given back: the copies still marked with it are no longer outlined

through ​

ts
through: boolean;

Seen whole behind what hides the thing; dimmed there where not

width ​

ts
width: number;

In pixels of the picture: a pulse is this written each frame