Quick Reference
Actions 1
| setCutLook() | Sets the cut look. |
Updating & Drawing 1
| updateCutaway() | others: the characters beside the player a wall must not hide either (followers, the nearest events), up to C… |
Other 1
| cullCutGhosts() | The ghosts this frame draws: those whose chunk a corridor crosses. |
Actions
setCutLook
method sourceReactor3D.MapScene.prototype.setCutLook(on)
Sets the cut look.
Updating & Drawing
updateCutaway
method sourceReactor3D.MapScene.prototype.updateCutaway(camera, mapData, character, others)
others: the characters beside the player a wall must not hide either (followers, the nearest events), up to CUTAWAY_FOCI in all.
Other
cullCutGhosts
method sourceReactor3D.MapScene.prototype.cullCutGhosts(eye, foci, count, width)
The ghosts this frame draws: those whose chunk a corridor crosses.
Details
The ghosts this frame draws: those whose chunk a corridor crosses. A ghost shows only inside a corridor (its shader discards the rest), and with every ghost shown the whole of the pieces was drawn a second time each frame to be thrown away, corridor or none. Nobody hidden shows none.