Skip to content

@relu-interactives/spatial-ecs


@relu-interactives/spatial-ecs / index / impostorView

Function: impostorView() ​

ts
function impostorView(yaw): number;

Defined in: terrain/impostor.ts:26

The direction (0..IMPOSTOR_VIEWS-1) to draw for a viewer at this angle round the model.

Parameters ​

ParameterType
yawnumber

Returns ​

number