blockly > blockRendering > Renderer > getConstants
blockRendering.Renderer.getConstants() method
Get the current renderer's constant provider. We assume that when this is called, the renderer has already been initialized.
Signature:
getConstants(): ConstantProvider;
Returns:
The constant provider.