StyleColorString extension

on

Methods

toRGBAInt() int

Available on String, provided by the StyleColorString extension

Convert the color from a CSS-style "rgba(r,g,b,a)" string, as returned for plain (non-expression) color properties like ModelMaterialOverride.modelColor, to int.