Home > blockly > zelos > ConstantProvider > (constructor)
zelos.ConstantProvider.(constructor)
Creates a new ConstantProvider.
Signature:
constructor(gridUnit?: number);
Parameters
| Parameter | Type | Description |
|---|---|---|
| gridUnit | number | (Optional) If set, defines the base unit used to calculate other constants. |