writeShapeValues method

void writeShapeValues(
  1. ShapeValues values
)

Gives values what shapeKey is made from, one by one, so a renderer can tell each frame whether the mesh changed without making a key. A shape of the engine's gives plain numbers; the default gives shapeKey itself.

Implementation

void writeShapeValues(ShapeValues values) => values.addObject(shapeKey);