update
Called when Viewer or CesiumWidget render the scene to get the draw commands needed to render this primitive.
Do not call this function directly. This is documented just to list the exceptions that may be propagated when the scene is rendered: