setScaleFactorForCost method
Sets scale factor for cost.
Parameters:
attributeName
— The name of attribute.scaleFactor
— The scale factor for cost.
Implementation
void setScaleFactorForCost(
{required String attributeName, required double scaleFactor}) {
final coreAttributeName = _CString(attributeName);
_withThrowingErrorHandler((errorHandler) {
runtimecore.RT_PolygonBarrier_setScaleFactorForCost(
_handle, coreAttributeName.bytes, scaleFactor, errorHandler);
});
}