public static Color ToUnityLinear(this VrmLib.LinearColor value) { return(value.RGBA.ToUnityColor()); }
public static void SetColor(this VrmMaterial m, string key, VrmLib.LinearColor color) { m.SetColor(key, new Vector4(color.RGBA.X, color.RGBA.Y, color.RGBA.Z, color.RGBA.W)); }
public static Color ToUnitySRGB(this VrmLib.LinearColor value) { return(value.RGBA.ToUnityColor().gamma); }