getScaleFactorForCost method
- required String attributeName,
Gets scale factor for cost.
Returns scale factor for cost.
Parameters:
attributeName
— The name of attribute.
Return Value: A value of scale factor for cost.
Implementation
double getScaleFactorForCost({
required String attributeName,
}) {
final coreAttributeName = _CString(attributeName);
return _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_PolylineBarrier_getScaleFactorForCost(
_handle,
coreAttributeName.bytes,
errorHandler,
);
});
}