FaceRasterCache

One SceneObjectModel face's own small rendered raster, reused as-is (repositioned to wherever the face's projected position actually is this frame, content unchanged) for a bounded number of frames before a real redraw - see issue #163. Only the pixel CONTENT is ever stale, never the blit position, so there's no geometric transform to get right here - a stale frame just shows this face's texture at last redraw's orientation, correctly placed at this frame's position.

Properties

  • bitmap (roBitmap)
  • staleFrameCount (integer)
  • triangleAtCapture (Array.<BGE.Math.Vector>) — This face's own 3 canvas-space vertices as of the last real redraw - compared

Constructor

new FaceRasterCache(): FaceRasterCache